6 ms·
Great movement from the community to show some love to FP. I really like Clojure, and will give Hy a try as well. FP really forces you to write better code and
by bcambel 13y ago
Great movement from the community to show some love to FP. I really like Clojure, and will give Hy a try as well.
FP really forces you to write better code and somehow your thinking starts to change slowly. What I realised is that after I started to write Clojure, I am writing much more functions in Python as well. If you haven't tried yet, give FP some chance.
- anaphor 13y agoThis doesn't make Python any more functional, all it does is change the syntax.
- bcambel 13y agoPython is already functional enough, it's the brain behind the keyboard wasn't that much functional before ( that was me )
- anaphor 13y agoOkay, well at least you can add a proper distinction between variable binding and assignment (let vs. set!) if you have macros, but that doesn't really make it more functional, just better.
- emidln 13y agoWell, you could implement proper distinction. let and setv both compile to setattr() in the current scope right now.
- Tuna-Fish 13y agoImho it lacks good types. Python with the clojure collections as default types would be awesome.
- Foxboron 13y agoI just want to note that Lisp does not really imply functional programming. Hy is nothing more then Python with Lisp syntax and the awesomesauce that comes from Lisp as macros and reader macros.