Re:Announcing CoffeeScript 2
by molszanski on Tuesday September 19, 2017 @12:05PM
(#15285837)
I agree. It is not advised to introduce confusing syntax if there is a chance that somebody outside of the group would use the code.
It is even more frustrating in .js repositories today. People use various ESXX flavours and syntaxes that might not compatible with each other.
Just look at this list: https://babeljs.io/docs/plugins/ My favorite is: babel-plugin-transform-decorators-legacy (A plugin for Babel 6 that (mostly) replicates the old decorator behavior from Babel 5)
Talk about code reuse
However, the codebase I was working in had no clear style guidelines about when it was acceptable to drop braces/parens and so it left me wanting for Python's "there's one way to do it" aesthetic.