Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yep, completely agree with you on this. Intuition is often wrong, or at least outdated.

When I'm building stuff I try my best to focus on "correctness", and try to come up with an algorithm/design that will encompass all realistic use cases. If I focus on that, it's relatively easy to go back and convert my `decimal` type to a float64, or even convert an if statement into a switch if it's actually faster.



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

Search: