4 ms·
Hy looks good, python would benefit from lisp-like macros.
by SomeoneFromCA 2y ago
Hy looks good, python would benefit from lisp-like macros.
- bunderbunder 2y agoIt does, though I would also point out that decorators also cover a lot of the same practical use cases. And is probably the preferable solution if your goal is to benefit Python code in general. Hy macros can only be used from Hy code, so it's not really an "improve my Python codebase" play so much as it is a "I want a lisp that can leverage the existing Python ecosystem" play. Kind of like Clojure vis-a-vis Java.