3 ms·
I'm surprised that CoffeeScript is still in use anywhere. Before my current job, I would have been shocked to see JavaScript used as the primary infrastructure
by bovermyer 5y ago
I'm surprised that CoffeeScript is still in use anywhere.
Before my current job, I would have been shocked to see JavaScript used as the primary infrastructure language, as I was so used to Chef and Ansible being the only CM tools, and Python being the de facto standard infra automation language.
Now, though, using JS for infra is starting to grow on me. I can't see myself using CoffeeScript ever again, but tools like zx and Pulumi are very interesting.
- wdavidw 5y agoI still use it a lot, particularly in unit tests and configuration. Take the tests of the CSV package, for example https://github.com/adaltas/node-csv/blob/master/packages/csv-parse/test/option.comment.coffee#L32-L46 https://github.com/adaltas/node-csv/blob/master/packages/csv..., once you get used to its syntax, it is easier to read than plain JS. For Nikita, TypeScript would be appealing for code completion. In term of type checking, it will be double usage since all arguments are checked at runtime with JSON schema.