Remix.run Logo
▲ catlifeonmars 7 hours ago

I’ve always liked coffeescript style syntax.

Just to nitpick, there is a whole list of reasons under “Changes from ES6” that invalidate the claim that this is a superset of typescript. In order to be a superset, you have to accept any valid typescript.

▲red_hare 6 hours ago | parent | next [-]

I couldn't believe it when I saw the "Comparison to CoffeeScript section". What a fun little language from the simpler times of front-end dev. I'm just happy to see someone carrying on the legacy.

▲a4isms 4 hours ago | parent [-]

A very fun language!

Its compactness and simplicity combined with its support for functions as first-class values inspired this CoffeeScript book, which was inspired by "The Little Lisper," "Little Scheme," and "Little MLer:"

https://raganwald.com/assets/books/coffeescript-ristretto.pd...

▲winrid 6 hours ago | parent | prev | next [-]

You might like Nim, then, which compiles to JS and has a nice type system, and is more concise so less output tokens by LLMs.

▲Yahivin 5 hours ago | parent | prev | next [-]

There are ES compat compile flags that resolve syntax ambiguities in favor of TS.

▲agumonkey 4 hours ago | parent | prev | next [-]

coffeescript was neat, conciseness helped writing functional code rapidly. that said i often ended up with cryptic code

▲phil-martin 7 hours ago | parent | prev | next [-]

Maybe it should be called a super-duper-set

I really do like the piping though. I dearly wish that was in js/ts already.

▲kibwen 2 hours ago | parent | prev [-]

> I’ve always liked coffeescript style syntax.

The word "style" in "cofeescript style syntax" is doing heavy lifting there. Coffeescript's syntax is a terrifying sea of ambiguity. Perhaps one could tweak its syntax to make it less ambiguous, but I doubt that would preserve its intended lightweight charm.