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

> I can argue whatever type you use in place of a string will similarly be "not a great type".

All Types are wrong, but some are useful.

Will Money type solve all problems? Is it better than decimal, from POV of prevention of mistakes - yes.




You have Money types? Lucky, I still see people using floats...


Well. Can't wait to multiply $20 with A$30 and see what happens.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: