3 ms·
Maybe. I only used CS for one project, after years of primarily programming Python. I could also believe that, if applied judiciously, the characters could be d
by nickm12 9y ago
Maybe. I only used CS for one project, after years of primarily programming Python. I could also believe that, if applied judiciously, the characters could be dropped without harming clarity.
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.
- molszanski 9y agoI 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/ 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