logoalt Hacker News

Civet: TypeScript superset that favors more types and less typing

31 points • by nateb2022 • today at 12:12 AM • 21 comments • view on HN

Comments

catlifeonmars • today at 5:28 PM

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.

➕ show 2 replies
bryzaguy • today at 8:23 PM

the examples in the documentation are soooo good. feels like burying the lead to not include them in the repo README. the Overview is too dense to effectively parse where the examples are really clear.

nilsbunger • today at 6:49 PM

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

➕ show 6 replies
Yahivin • today at 7:37 PM

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

montroser • today at 8:01 PM

The terseness reminds me a little bit of Perl, for better or worse.

proc0 • today at 6:19 PM

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.

srikondapalli1 • today at 6:43 PM

[dead]