Live data from Hacker News

Languages to improve your Python

curiousefficiency.org

11–20 of 31 posts

Re: Languages to improve your Python

#11
post #4

They missed Scheme, one of the most elegant and powerful languages in existence.

Not just Scheme, but given how important metaprogramming is to Python, I was hoping there would be more Lisp dialects in the list.

How important is metaprogramming to Python? Frankly, in my 16+ years as Python developer, I have never seen anything that can be remotely described as metaprogramming in Python, except in academic code and experimental GitHub projects.

Re: Languages to improve your Python

#19
post #11
post #4

Earlier quoted context omitted.

Not just Scheme, but given how important metaprogramming is to Python, I was hoping there would be more Lisp dialects in the list.

How important is metaprogramming to Python? Frankly, in my 16+ years as Python developer, I have never seen anything that can be remotely described as metaprogramming in Python, except in academic code and experimental GitHub projects.

That seems like a pretty fair label for what decorators do.

Re: Languages to improve your Python

#20

They missed Scheme, one of the most elegant and powerful languages in existence.

But they did mention Hy, a lisp dialect written in Python. I find this hy-larious. It certainly is one way to learn Python better as you'll be working, indirectly, in its abstract syntax tree. You can do this in plain Python but the ast module is woefully under-documented and rarely used.

I think they chose Hy over other Lisps because of closer Python interop. After all, the post is aimed towards Python programmers.
Post reply on HN