Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ibejoeb
on July 11, 2024
|
parent
|
context
|
favorite
| on:
Engineering principles for building financial syst...
The string "3.99" always comes back as a string, but when you need do anything at all to it, it resolves down to the same problem.
langcss
on July 11, 2024
[–]
Ideally, one should make illegal state unrepresentable. The problem with a string is there is no guarantee it represents a money amount.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: