26 points nateb2022 19 hours ago 12 comments

catlifeonmars 2 hours ago | parent

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.

phil-martin 1 hour ago | parent

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.

winrid 1 hour ago | parent

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.

red_hare 1 hour ago | parent

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.

proc0 1 hour ago | parent

If strong types are needed it's probably better to remove layers from the abstraction layer and go back down to a systems language and then build for Web (with WASM). Web APIs have matured substantially so more can be built with less code removing need for so much type checking, which agian if needed it's probably better to remove the abstraction layers instead of adding more of them.

I'm just saying JS isn't the best of foundations for types to begin with so building an abstraction layer on top of types, on top of JS, is wild.

motoroco 1 hour ago | parent

wasm is just too hamstrung by its sandbox to be really useful everywhere I once imagined. years ago, I wanted to put my redux-like state machine in it so I could run the same version on mobile clients as well as web. but because there isn't a good solution for sharing memory between JS and WASM, and there's no way to let the WASM talk directly to IndexedDb, browser storage and the like, it was dead in the water

it was too inefficient (and overly complicated) to duplicate application state that the DOM needed between both sources and required so much glue code to reach the services I needed that it totally killed my interest in using wasm for web apps. LLMs don't even really change the picture for me; it doesn't have the performance characteristics I was seeking, so just getting it to work with tons of code in spite of the poor interfaces would have subverted half my reasoning to use it

nilsbunger 56 minutes ago | parent

I love it but it feels like it missed its moment - we aren’t writing or reading code anymore.

rafael-lua 49 minutes ago | parent

We?

deegles 48 minutes ago | parent

all the more reason to make LLMs use the latest in strict types and formal methods. you can just set it and forget it

jjpeinet 48 minutes ago | parent

Exactly now it’s even more important to read and write code. Once your brain got lazy and you lost control over your code base, it lost its value and it will be even harder to get it back.

Seriously, if any part of your product is software, you should know what’s in there, and if you don’t, it’s not your product anymore.

locknitpicker 23 minutes ago | parent

> I love it but it feels like it missed its moment - we aren’t writing or reading code anymore.

I sometimes come across code pushed by people who don't write or read code. It is exactly what the description tells you it is. In my team, the "devs" who performed these stunts ended up being fired for incompetence after they introduced outages and failed to fix bugs.

Yahivin 8 minutes ago | parent

As the creator of this language I'm always looking for feedback, even/especially from HN :)