3 ms·
The reason I like black is the most opinonated folks have WEIRD opinions. You see that here. Things like a = [ 1, 2, 3 ] when 90% of the world is a = [1, 2, 3
by onphonenow 5y ago
The reason I like black is the most opinonated folks have WEIRD opinions.
You see that here.
Things like a = [ 1, 2, 3 ] when 90% of the world is a = [1, 2, 3]
These folks will spend hours / days try to force weird approaches.
Sometimes they are obviously wrong. But it's annoying to have to fight over it. Something like black saves you the hassle and the WEIRD local coding rules someone comes up with if you are on a project with them.
- darkerside 5y agoTerrific point I never thought of. There's definitely a power law, where 80% of the arguing time is spent on the 20% dumbest shit.
- IgorPartola 5y agoI think I figured out why: it’s easy for everyone to have an opinion about simple things. Complex things that are worth arguing about take more knowledge/experience and at that point fewer folks are qualified to argue about them.
- darkerside 5y agoYup, bike shedding https://en.m.wikipedia.org/wiki/Law_of_triviality https://en.m.wikipedia.org/wiki/Law_of_triviality
- lolc 5y agoI once came in on a project where one dev used "func( arg )" and the other used "func (arg)". They would reformat each other's lines when they changed something, so the diff had a lot of whitespace changes. The two were not on speaking terms any longer, so I was tasked with cleaning up the mess. First step was to run an autoformatter. I used stock presets so neither of the two would think the other was favoured in the cleanup.
- paiute 5y agoIf I worked there I would always do func( arg) or func(arg ) just because.
- onphonenow 5y agoHaha. Brilliant :) The extra spaces look so weird to me, but yeah, folks have strong opinions.
- hnarayanan 5y agoChaotic evil
- patrick451 5y agoI just don't see why you would care if this extra space is in there or not. If they want to stick it in there, be my guest. I can read either just fine, even if, gasp, it's not 100% consistent through the whole codebase.
- onphonenow 5y agoWill you change to match their code style? Great. However, if another person ALSO has a strong opinion about this - nightmare.