326
Software engineers are facing an 'identity crisis bordering on depression,' Menlo Ventures partner says
(www.businessinsider.com)
This is a most excellent place for technology news and articles.
Most of my career I was allowed to write code how I wanted. I made it beautiful and nice to read. It was genuinely fun to find the best way to implement each feature.
My final job, I was forced to add semicolons on new lines for each
if elsestatement, even for early returns, remove hyphens from my comments because they were "improper grammar", put a useless giant copy pasted comment at the start of each file so you can't even see any code without scrolling, one separate file for each class even if it's an internal helper class used nowhere else, and use interfaces and MVVM for literally everything, even when it was severely over-engineering (or should I say overengineering). It just felt soul crushing to make this ugly ass code that took forever to write, just because the style guide said so.Then A.I. happened and I quit being a software engineer completely. Telling an A.I. to do my work for me is just depressing. What's even the point anymore? I still code for fun but I'm done with the industry.
These days it’s very common to write whatever code you want, and a formatter automatically rewrites it to conform to the projects rules during precommit.
Which is great because it allows you to focus on intent instead of format, and completely avoids any team disagreements or change rejections for trivial bullshit.
And then somebody changes the auto-formatter settings and all of a sudden every single file changed and committe appears as having most lines changes and you loose the ability find the real code changes between a version before that and the current version.
Guess how I found this out ...
Standardizing code format via that path only works well if you start it really early in the project and never change it after that.
(Also, it doesn't solve the problem of different software design styles)
Ah yes, some random intern suddenly has 'credit' for almost all the codebase because they ran a linter with different settings than previous linter settings..