class HelloWorld
hello: (name = 'World') ->
"Hello, #{name}!"
module.exports = HelloWorld
CoffeeScript is a language which transpiles into JavaScript, used for making dynamic websites (both in the web browser, and on the server). The transpiler is used to transform CoffeeScript code into JavaScript before running, to keep compability and the same performance of JavaScript while providing many new features!
CoffeeScript was created to provide a simplified way to write JavaScript, based on a blend of the Ruby and Python languages. One difference is the use of indentation and arrows to replace JavaScript's verbose function code, and introduces useful features from functional languages including pattern matching.
CoffeeScript is one of many new languages that transpiles to JavaScript, including TypeScript and Flow - the community is growing, and these types of languages are very popular.
Join the CoffeeScript trackExercism is fantastic in learning new languages but that is not the extent of it. If you are a "more experienced" programmer you may have encountered impostor syndrome: the idea you don't really know what you think you know. Exercism lets you solve problems and put them in the space of open feedback which is a tremendous learning opportunity to explore the depth of your own knowledge. Even if you have been programming in a language for awhile it is worth checking into Exercism to see where you stand with current implementation practices.
Once you join the CoffeeScript language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.
These are a few of the 21 exercises on the CoffeeScript track. You can see all the exercises here.