@yogthos that's just bad code.

I used to be super annoyed not having lisp-like macros, but the obsession with s-expressions escapes me.

... It's gunna be a tree regardless how you write it. Might aswel use whitespace(like Python) and infix notation, it's perfectly understandable and looks better...

I also do not understand people wanting static typing by the way. It only stops really shallow bugs as far as i can see.

@jasper there are a number of advantage to using s-expressions. A couple of big ones for me are:

Having a single syntax for logic and data. You can take any piece of code and transform it using the same language you're already using. I wrote about the benefits of that in detail here

yogthos.net/posts/2017-10-03-M

S-expressions also allow much better editors where you're manipulating blocks of logic as opposed to lines of code as seen here

danmidwood.com/content/2014/11

@yogthos @jasper Big fan of Forth here, but I definitely want to get more involved with Lisp eventually as well. Common Lisp in particular, mainly because it is the common benchmark against which other languages are referenced against. I did play around with Shen Lisp for some time, and really enjoyed the experience.

Follow

@vertigo @jasper personally I'm a Clojure fan, I find that the literal syntax for different data structures greatly helps readability, and I really like that Clojure defaults to immutability.

I find it's also one of the more practical Lisps as it has access to both the JVM and Js ecosystems with tons of mature existing libraries for pretty much any task imaginable.

Β· Web Β· 0 Β· 1 Β· 3
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!