A plea to the community
Developers want to be known for their creations. Developers want to make a dent in the world. Developers want other developers to use their software. When I was in middle school, I loved to make Dragon Ball Z characters for M.U.G.E.N. After a while though, I wanted to do more. I wanted to make a game engine. I didn’t really give a shit about making a game(at least initially). I wanted people to use my game engine to make a game much like I used M.U.G.E.N. So I read C primer plus and downloaded Allegro. It was kind of dumb looking back on it, but I got pretty far.
No one likes your style
Developers create new libraries because they hate other developers style choices. That’s right I said it. No one wants to iterate on older libraries because they hate what the code looks like.
I think Browserify and Webpack are awesome tools, so you could imagine I was baffled when I saw Rollup.js. Instead of adding tree shaking to Browserify, lets create a new library that does 95% of what Browserify does. Here are the 5 reasons Rollup.js was created
- The author prefers 4 spaces instead of 2
- The author likes to name files with title case
- The author likes spaces in parenthesis around the arguments
- The author wanted to quote a song by Wiz Khalifa
- Trees… Related to Wiz Khalifa?
When I look at a Python project there are no surprises. I see Python. When I look at a Go project I see a language that has its shit together. If Go was 50% slower than Ruby and looked like Perl I would still consider using it(hint: I don’t currently), just for the fact that it has linting and formatting built in. No one is surprised by Go. It looks the same no matter who wrote it. This is awesome for open source and more importantly it’s awesome for teams.
More recently I’ve been using Airbnb(eslint) style guide(with semicolons turned off) because it enforces quite a bit more than standard. I just want someone to tell me how to write the code. I don’t want to configure Eslint for days.
Before any new features are added to the language can we a get a proposal to standardize a style guide(much like PEP 8). Brendan Eich, if you’re reading this, please consider it.