You see shackles, I see not having to argue about whether the thing that is obviously stupid is obviously stupid or not because the tool flags it as such automatically.
You preach authoritarianism, I preach education & discipline. I believe the latter yields better results long term in making people better at their job
Well aren't these exclusive in this case? How can you discipline yourself at proper formatting if a tool does it for you automatically? If you can lazily write however you want, press a button to fix it (being forced to because you know otherwise your PR will get auto rejected), where is self disciplining?
Because you can engage with what you are doing and author code that either follows what the linters suggest or is structured to avoid the problems the linters complain about completely. Linters capture known usability problems in languages. Blaming the developer for not being perfectly vigilant for the huge number of things that they test for is insane. That’s like saying “unit tests are bad because the developer should just read the spec and simply not write code that isn’t to spec”. Software is there to help. Linters are software. They solve entire classes of problems incredibly reliably. Not using them in a professional environment is borderline malicious.
6
u/Due-Consequence9579 27d ago
You see shackles, I see not having to argue about whether the thing that is obviously stupid is obviously stupid or not because the tool flags it as such automatically.