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

Someone should write a bot to post a reminder to "start with strings unless you're doing math" to reddit/twitter/youtube every week and the world would probably be way better for it. We could even have compiler warnings for type-safe languages when someone declares an int with a name containing 'address/zip/postal/credit/card'


> We could even have compiler warnings for type-safe languages when someone declares an int with a name containing 'address/zip/postal/credit/card'

That sounds like it would be a better job for a linter than for a compiler.


Why not both! Not everyone uses a linter (unfortunately). Compiler would be a nice second catch (for any tooling that has a compiler)


"start with strings unless you're doing math"

lambda calculus tells us, stick with strings even when you're doing math


With lambda calculus you don't need strings




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

Search: