Hacker News new | past | comments | ask | show | jobs | submit login

Well that's true, and if you're going to argue that the lack of equally or more concise syntactic support is an omission, I agree. I think 1.23 should denote a decimal floating point constant, and a special suffix should be required if you want to use binary.

But I think it's important to make sure programmers don't end up with the idea that they might as well store money amounts in binary floating point because the language they are using doesn't support decimal.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: