by jazoom · 8y ago · 0 comments
Just making a joke.
Newer languages with solid type inference help a lot for reducing that cognitive load, so this isn't saying that one side of the static/dynamic-typing debate is wrong but rather that it's an important design factor for programmer productivity.
The two are totally orthogonal concerns.
You can write highly obfuscated spaghetti code from hell in any type checked language you wish...
But definitely agree that cleaner code > performance in most cases. First make sure you really do need to squeeze that performance out.
Disclaimer: I do tend to use for loops a lot since they can be quite readable.