Hacker News new | ask | show | jobs
by Yahivin 1203 days ago
Hello! I created Civet ask me anything.

Or just curse me for keeping the dream of CoffeeScript alive :P

5 comments

Hey Yahivin! I love the idea and would love to use it and spread it. I think the best way to jumpstart that is a VS Code extension that allows Civet to be used as an Emmet style tool for the modern developer - write code really quickly and have it convert to production grade typescript following all your eslint / prettier rules, and use it as a personal speed up tool for just writing. When your coworkers start asking how you're moving so fast you tell them about Civet!
Thanks! Sounds like a good idea and a nice way to make it easier for people to get started playing around with Civet.
I guess an animal that poops out coffee is strangely fitting for this project.
Sorry, a slightly offtopic question: who drew the mascot? :)
DALL-E 2
I've got 99 problems but the tersity in TypeScript isn't one of them. Can't wait to groan that a random project we depend on uses this and I have to learn new syntax to make a 1 line change.

Whenever I saw coffeescript I just felt like the developers fancied a change for change sake and doesn't have real problems to solve.

It's clever though to create a new syntax, I'll give you that

I like the documentation that TypeScript types provide but I'm always running into lots of small quality of life issues that wear me down.

- Rest in any position

- Dedented block strings

- Default to const in for loops

- Lack of -> function shortand

- Everything is an expression

- Implicit returns

- Chained comparisons

- Nested unbraced object literals

- Optional trailing commas in arrays

- Optional trailing commas in objects

- x.map .name function shorthand

Each one is a fairly minor concern but they all add up. I'm sure different people will have a different list of favorite features as well. One of my goals in creating Civet was to fix my top 100 issues with TS syntax while being 99% backward compatible. The ultimate goal being: TS with my top 100 issues fixed will be the best language I have ever used.

Super nicely done! Thank you so much for contributing with this.