Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What does /prague think of Hy?

Name: Anonymous 2019-09-13 10:18

Decent syntax for Python. Best of both worlds?

http://docs.hylang.org/en/stable/index.html

Also looks more straightforward to use than anything I've seen for JS, but it lacks TCO for functions and you need to use loop/recur.

(Seriouse thread, genuinely want to know.)

Name: Anonymous 2019-09-13 12:09

The great thing about LISP is not its syntax. The same applies to Clojure. Both are bad and not LISPs.

Name: Anonymous 2019-09-13 22:30

>>2
Lisp is about homoiconicity, multiparadigm programming, dynamic typing, simplicity and linked lists. Am I missing something?

Hy is homoiconic, multiparadigm, dynamically typed and reasonably simple but it also has the power of the (fairly less bullshit than Java's) Python object system. It's just not based on linked lists, a simple data structure that makes implementing simple recursive algorithms simple, but variable-width vectors, a powerful data structure with much more efficient O(1) indexing that allows for much more and can still be iterated rather simply to emulate a linked list. On top of that, it has native syntax for dictionaries, another powerful data structure you can do anything with.

What am I missing?

Name: Anonymous 2019-09-13 23:09

Huh huh huh hey Beavis, he said "homoiconic", ummm huh huh huh...

Name: Anonymous 2019-09-14 2:21

>>3
The problem in all these hosted lisps is that when you want to solve a problem, you immediately just do it the way of the hosted language, only changing the syntax.

sbcl and many other implementations have O(1) random access vectors.

Name: Anonymous 2019-09-14 4:38

O(1) random access vectors.
Also known as "Arrays"

Name: Anonymous 2019-09-14 9:51

>>5
How does that make them not a Lisp, as >>2 said?

Name: Anonymous 2019-09-15 16:12

>>6
Vectors imply compile-time bounds checking, but I do not think that python has that.

Name: Anonymous 2019-09-15 23:28

>>8
Thankfully, not. Python lists are arbitrary length and still about O(1) access.

Name: Anonymous 2019-09-16 0:19

I don't think about it at all

Name: Anonymous 2019-09-16 0:49

I don't even think about dubs.

Name: Anonymous 2019-09-16 16:53

I still don't understand >>2's point that they are not Lisps, so I'm going to call bullshit.

Name: Anonymous 2019-09-18 7:12

I like Hy and had some projects in it but it's really too immature to use, with constant breaking changes between versions. so I'm waiting till 1.0 before using it for anything serious. also, I don't like that they removed car and cdr, I get the reasoning but their're are getting too opinionated - I guess it's an influence from Clojure

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List