Civet: A better TypeScript?

Letters, type, code

“There’s a rumor going around that Civet is the new CoffeeScript but maybe that’s a good thing. CoffeeScript brought classes, destructuring, async/await, arrow functions, rest parameters, and more to the official JavaScript spec. Maybe Civet will get the pipe operator, pattern matching, and more into ES2025.” —Civet creator Daniel Moore

Civet is described as a kind of modern CoffeeScript for TypeScript, which may not sound promising if you remember CoffeeScript as I do. Before you write it off, though, consider what Civet has to offer. This is a compact, modern language that aims to give you everything you like about TypeScript with more power and simplicity, including early access to proposed ECMAScript language features. You could be surprised by some of the capabilities Civet puts into your hands with very little effort. 

To read this article in full, please click here


Source link