top | item 35854909

(no title)

leethomas | 2 years ago

I like lisps syntactically. The only thing stopping me from using it more frequently is the lack of static typing. I wasn't always a stickler for static typing, but I've spent a lot of time working with Scala and TS and the main advantage for me is ease of refactoring and avoiding NPEs.

EDIT: What I'm continuously evaluating for myself is Clojure specifically

discuss

order

cutler|2 years ago

Clojure is head and shoulders above other lisps. Watch Rich Hickey's Sermons From the Mount in the years following Clojure's release and you may never be the same again. At least that was my experience. David Nolen's Clojurescript videos are similarly riveting.

Clojure also has far more reach than any other lisp with implementations for JS, JVM, .Net and recently Dart/Flutter. It also has a library - libpython - for easily importing Python libraries.

bjoli|2 years ago

What about it is head and shoulders above other lisps?

The ecosystem? The lack of first class continuations? All the things that can be portably implemented in any language?

readthenotes1|2 years ago

"I like lisps syntactically"

and yet, not a single parentheses in your text. Disappointed.

kdmccormick|2 years ago

  ((syntactically like) I lisps)

hajile|2 years ago

Check out Coalton.

dataangel|2 years ago

Coalton static typing doesn't actually work, there's an issue filed that it breaks as soon as you do any mutation.

Pay08|2 years ago

Common Lisp has the declare form and it's siblings. It's not exactly static typing but it's close. Unfortunately, it does make the code a bit uglier.