Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
intelekshual
on Oct 24, 2024
|
parent
|
context
|
favorite
| on:
Lingo: A Go micro language framework for building ...
Probably because `Float()` is stricter and will raise an error if the string isn't a valid number, whereas `#to_f` will silently return 0.0 or do a best-effort conversion (e.g. "1.2abc".to_f => 1.2)
Alifatisk
on Oct 25, 2024
[–]
Ohhh!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: