4 ms·
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
by vsareto 4y ago
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'
- r-w 4y ago> 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.
- gibolt 4y agoWhy not both! Not everyone uses a linter (unfortunately). Compiler would be a nice second catch (for any tooling that has a compiler)
- fsckboy 4y ago"start with strings unless you're doing math" lambda calculus tells us, stick with strings even when you're doing math
- LoganDark 4y agoWith lambda calculus you don't need strings