3 ms·
I was just ruminating with a friend the other day how much I want a typed lisp with Clojure syntax and semantics, and TypeScript’s type system. This checks one
by eyelidlessness 6y ago
I was just ruminating with a friend the other day how much I want a typed lisp with Clojure syntax and semantics, and TypeScript’s type system. This checks one of those boxes almost entirely (syntax), and it makes me wonder if it could be wrapped or retrofitted to provide the rest. Probably not the type system without significant work. Still, cool project nonetheless!
- mssundaram 6y agoAs a tangent, Typescript's type system has become really powerful, expressive and quite pleasant to work with.
- eyelidlessness 6y agoI agree! It’s made whole classes of problems easily solvable with great compile time validation. I just want it in a lisp with multiple bracket shapes and a good immutability story.
- bambataa 6y agoI agree! I’m learning Clojure at the minute and it’s just confirming how important static typing is to me now after TS. I’m using and I get that it’s powerful but TS just hits that sweet spot of being immensely useful with out getting too much in the way.
- eyelidlessness 6y agoFor what it’s worth, having gone the opposite direction (dynamic imperative langs -> clojure -> typescript), I highly recommend sticking with it for at least a little while. The dynamic type system must surely be painful if you’ve already enjoyed a good static type system, but getting a good instinct for how rarely code needs to be stateful and how easily maintainable even complex FP can be... really pays off when you come back to a language like TS.