9 ms·
Just because someone keeps hitting his fingers instead of nails, doesn't mean a hammer is not a good tool. In other words, it is the programmer who leaks state,
by wildranter 14y ago
Just because someone keeps hitting his fingers instead of nails, doesn't mean a hammer is not a good tool. In other words, it is the programmer who leaks state, not the language.
- slurry 14y agoCheap shot: that's what Perl hackers say about readability. Python's support for functional idioms is limited by design. Python doesn't have to be good at everything to be a good language.
- wildranter 14y agoI never directed my comment to Python. That because what I said serves to any language, from C to Python, and including ObjC, Pascal, JS, Ruby, etc. From WP: In computer science, functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. FP is a paradigm as OO is too. One thing does not exclude the other. Nothing stands between you and using the best of both worlds, in any language. You just have to think outside of the box. ;)