3 ms·
Pros * Runs anywhere Python does * Uses Python's ecosystem * LISP consistency and functionality Cons * As slow as Python Conclusion: I love Hy. When I wa
by shakna 10y ago
Pros
* Runs anywhere Python does
* Uses Python's ecosystem
* LISP consistency and functionality
Cons
* As slow as Python
Conclusion:
I love Hy. When I want a portable LISP, or get incredibly frustrated with Python's arbitary limitations (lambda), I use Hy.
Unfortunately, never had it fit a large project, so I use it like scsh.
- kazinator 10y agoI do not agree that Hy has "LISP [sic] consistency and functionality". The code visually resembles Lisp but consists of ugly hackery under the hood. Straight from the doc: "In some Lisp variants, the cons cell is the fundamental building block, and S-expressions are actually represented as linked lists of cons cells. This is not the case in Hy, as the usual expressions are made of Python lists wrapped in a HyExpression. However, the HyCons mimics the behavior of “usual” Lisp variants thusly: * (cons something nil) is (HyExpression [something]) * (cons something some-list) is ((type some-list) (+ [something] some-list)) (if some-list inherits from list) [... etc]" Basically, yikes!
- pmiller2 10y agoPro: * Has cute mascot. I love Cuddles the Cuttlefish. :)