3 ms·
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, indirec
by agentultra 11y ago
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.
- dec0dedab0de 11y agoI recently used the ast module to find imports to see which lines in "pip freeze" are actually necessary for any given file/directory. It was pretty neat, and I hope I have a reason to use it again.
- TeMPOraL 11y agoI think they chose Hy over other Lisps because of closer Python interop. After all, the post is aimed towards Python programmers.
- agumonkey 11y agohy is cute, but there's another skywalker: pixie.