3 ms·
If anything, this post has only succeeded in making me even more anxious about all languages that aren't built on s-expressions...
by epgui 4y ago
If anything, this post has only succeeded in making me even more anxious about all languages that aren't built on s-expressions...
- klysm 4y agoS expressions without types make me nervous
- Jach 4y agoThe best way to get rid of that feeling is to work with them. Why not learn Common Lisp?
- quickthrower2 4y agoBecause it is Lisp, you will be working solo anyway, and NIH-ing all your dependencies. So it is all good!
- Jach 4y agoIf it's all good, sounds like that's a reason to learn it. ;) But I have to push back some -- I mean you can work alone and build your own castles from scratch if that's your thing (I totally understand that appeal), as in any language, but you don't have to. There are libraries, some quite good, here's an incomplete collection: https://github.com/CodyReichert/awesome-cl https://github.com/CodyReichert/awesome-cl It's also easy to interface with C libraries or Java libraries, there are options to interface with C++ and Python. There are also communal projects with more than one active developer if you wanted to work on such group things, and some companies here and there.
- brabel 4y agoAnd Common Lisp actually allows adding type declarations[1], which can make code much more performant! Also, if you really, really want types, as in Haskell-like types... there's Coalton[2], a language that's embedded in Common Lisp (CL is that powerful it allows things like this) with a ML type system and more "modern" idioms for people used to functional programming. [1] https://lispcookbook.github.io/cl-cookbook/type.html https://lispcookbook.github.io/cl-cookbook/type.html [2] https://coalton-lang.github.io/ https://coalton-lang.github.io/
- epgui 4y agoMe too actually[1], and I'd really like trying to work with something like typed racket[2] some day. [1] I say this as a big fan of clojure [2] https://docs.racket-lang.org/ts-reference/index.html https://docs.racket-lang.org/ts-reference/index.html
- abrax3141 4y agoAll languages are built on s-expressions. (Aka ASTs) Lisp is just the only one proud of the truth.
- epgui 4y agoWhile that may be technically true, it's not really true in a way that is relevant to what I meant by my comment (ie.: the syntax maps directly to the AST, or s-expressions are the syntax through which one expresses the program).