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

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.


I 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.


This doesn't make Python any more functional, all it does is change the syntax.


Python is already functional enough, it's the brain behind the keyboard wasn't that much functional before ( that was me )


Imho it lacks good types. Python with the clojure collections as default types would be awesome.


Okay, 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.


Well, you could implement proper distinction. let and setv both compile to setattr() in the current scope right now.




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

Search: