Sem
Sem

Reputation: 4669

Why does Atom documentation use CoffeeScript, but generate packages in JavaScript?

I'm trying to create my first Atom package and there is one thing that I'm confused about:

The Atom Documentation provides examples in CoffeeScript while the default installed Package Generator generates JavaScript code. Why isn't there a uniform choice? Or is one of them outdated?

Upvotes: 4

Views: 597

Answers (1)

codemacabre
codemacabre

Reputation: 1122

Atom is slowly moving away from CofeeScript and has the mantra of 'no new CoffeeScript code'. This is explained by Nathan Sobo in the ChangeLog podcast episode 241, entitled 'The Story of Atom'.

Most mention of this question on the Atom discussions tends to point towards this topic which, while not official announcement, covers much of the ground. The CoffeeScript issue has also been addressed in the FAQs by linking to Kevin Sawicki's comment here, which explains that CoffeeScript is not required to create atom packages.

Upvotes: 5

Related Questions