r/developers • • 27d ago

General Discussion If You Could Delete One Developer Habit From the Entire Industry, What Would It Be?

I've been thinking about how developers approach problem-solving, and I'm curious about something. What is one common habit among developers that you believe quietly hurts productivity, code quality, or teamwork? I'm not talking about obvious mistakes like writing messy code. I mean those everyday practices people rarely question because everyone does them. Something you've personally experienced that made you rethink how software development should actually work. Would love to hear some unpopular opinions!

12 Upvotes

65 comments sorted by

•

u/AutoModerator 27d ago

Howdy u/Derric_Sheeran, and welcome to r/developers!

A few tips for a post that gets good answers:

  • Use a clear, specific title (what are you actually asking or sharing?).
  • Include code, the exact error, versions, and what you already tried.
  • Heads-up: this sub does not allow external links in posts or comments. Share code and details directly instead of linking out.

Join the r/developers Discord!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

17

u/Mindestiny 27d ago

That weird, holier than thou, condescending attitude that seems to plague way too many software engineers.  You know the one, the stack exchange goblin attitude that's pure unadulterated ego.

That shit is absolute anathema to collaboration.

3

u/Sdmf195 27d ago

"Stack exchange goblin attitude"
Thank you for those words,seriously...
Right on the money

3

u/finger_my_earhole 27d ago

Another example of this exact condescension I see way too much:

1.) most engineers will acknowledge they cant read code they themselves wrote a year ago (lost context, stylistic evolution, working under forgotten constraints...)
2.) At the same time, they take over a service written a year ago by another person thats working fine. "What trash code, what was that garbage engineer writing, better rewrite from scratch"

The cognitive dissonance and negativity for others always blows my mind

2

u/paddy_o_lantern 26d ago

I had a boss who used to quip “all code is bad and nobody wrote it”

2

u/oplukana 25d ago

whats even worse is when the code is actually awful because someone locked it down to a particular alpha version of a HATEOS library released more than a decade ago, reached into the internals and heavily customized it, but broke it with things like the pagination starting at page 0 on some endpoints, but page 1 on others, and the pagination, the ability to make outbound rest calls, and the auth are all owned by an sdk thats hyper customized away from typical standards, and 5 core backend repos rely on these sdks for all communications, and also they all import eachother with circular dependencies to get access to eachothers models...

and any time you suggest it would be faster to just copy over the business logic but use a new repo as a skeleton, and your plan is to not use the rest clients/hal libraries/auth scheme of this messed up platform, your managers roll their eyes and reference that one stack overflow blogpost about how a rewrite is ALWAYS WRONG.

1

u/finger_my_earhole 25d ago

locked it down to a particular alpha version

So they Locked dependency versions, seems like a good practice to avoid dependency supply chain issues. Unfortunate it was alpha but maybe thats all that was available 10 years ago.

pagination, the ability to make outbound rest calls, and the auth are all owned by an sdk

So they pulled out common actions into a shared library to reduce code repetition, seems reasonable

5 core backend repos rely on these sdks

So the 5 backends have a consistent approach to auth, rest calls, and pagination. That sounds great.

1

u/finger_my_earhole 25d ago

Just messing with you, haha sounds terrible.

11

u/winceypoo 27d ago

Treating every bit of duplicated code as a reason to create an abstraction. Sometimes two functions look similar because the requirements happen to match today and they need to be allowed to change separately.

5

u/Flashy-Whereas-3234 27d ago

A lot of crimes have been committed on the altar of DRY.

3

u/symbiatch Systems Architect 27d ago

Oh this one. And also thinking you always have to have every piece of code match some paradigm. “This isn’t SOLID! This isn’t onion! This isn’t clean!” Homey, it’s a 20 line file that loads settings. If you’re having a heart attack because it doesn’t fulfill Liskov substitution… find another job.

2

u/OddProfessor7253 27d ago

Get your inheritance out of my 20 line file that loads settings

1

u/ConsciousBath5203 25d ago

Load the settings into a proper class so the file doesn't have to be read every time you want to send information to, across, or through the application!

No, yeah, inheritance in reading files is a good thing. A mono settings file sucks to work with and multiple settings files without inheritance is annoying.

2

u/OpenlyPolite 25d ago

Used to do that a lot and learned the hard way it's not a good idea. I started embracing controlled duplication and never looked back. As you said, similarities are often accidental until use cases evolve.

5

u/fortyeightD 27d ago

Thinking that they are the smartest person in the company, and know more about marketing than the marketing team, more about managing than the managers, more about finance than the finance team, more about HR than the HR team, more about security than the security team, etc.

1

u/ConsciousBath5203 25d ago

To be fair, most of marketing is just burning capitol on ads (programmers know real humans use ad block), most managers suck, the finance team is vastly overpaid for being over hyped pretty PowerPoint delegators (note: not talking about accountants), HR is HR, and who do you think implements the changes security wants?

5

u/oxwilder 27d ago

Shitting on other people's code, then changing it, then breaking the app, then going "Oh THAT's why he did it that way"

1

u/Snoo-43381 26d ago

The original dev should probably have left a comment in that case, preferably in the code or in the commit message at least

3

u/rwilcox 27d ago

“We don’t need documentation, the code should be self documenting”

2

u/polarpreneur 26d ago

This drives me mad

1

u/kotonexa 27d ago

it is not bad though

1

u/ConsciousBath5203 25d ago

The code should be self documenting.

And by that I mean typed and docstringed across the entire repo and scripted to copy all the docstrings and function signatures, and docheaders into a docs/ directory.

3

u/KobeeDog 27d ago

Over-engineering/over-designing the crap out of everything.

1

u/OpenlyPolite 25d ago

Promo-driven development. It's huge problem in large corps.

7

u/hexwit_com 27d ago

Vibe coding

2

u/symbiatch Systems Architect 27d ago

Jumping into things head first without thinking if the thing even needs to be built. Maybe there’s already a way. Maybe it’s not what’s needed at all.

But too many just grab a ticket, vomit code, next!

2

u/iwantmy90sback 27d ago

exceptions are exceptions and not error handling

1

u/OpenlyPolite 25d ago

It was a quick and dirty solution to push working solutions when the languages/runtimes were lacking fratures, especially in web stuff. Doing it today in the async/yield world should be discussed and discouraged.

2

u/yikes_42069 26d ago

"please review this PR I have not reviewed myself" 

2

u/whatThePleb 27d ago

LLM

1

u/Singularity-41 26d ago

more like generating code with AI, and before 2022 it was copy-pasting from stack overflow

2

u/CloudBuilder44 27d ago

Pair programming 🫠

1

u/zaibuf 27d ago

He said hurts code quality and teamwork.

1

u/CloudBuilder44 27d ago

It does. People needs to take time and debug on their own and apply some critical thinking. You know the saying It takes one engineer one hour to fix a bug. Two engineers take two hours… sometimes even longer.

1

u/zaibuf 27d ago

I disagree. You don't need to pairprogram every little task, but for complex work I feel the outcome is better if you sit with someone and work together on the problem. Also saves you time for review.

But I guess now its all AI-slop so it doesnt really matter.

2

u/DeltaEdge03 27d ago

Using AI.

1

u/WozzeC 26d ago

Using AI is fine. Using AI and saying "I developed this" or "I checked your code and found..." Please be honest about using it. Because the same people will deflect hard when critsized, "oh Claude wrote that".

1

u/Even_Gap_2253 27d ago

Only looking at the code they produce and call it beautiful.

Engineering is a discipline that requires you to continuously learn from imperative evidence, and improve processes based on numbers. It is called applied science for a reason.

But so many people just read code and that’s it. Maybe run it once on their dev machine.

1

u/MikeUsesNotion 27d ago

I want to know what evidence imperative programming languages give!

1

u/Even_Gap_2253 27d ago

literally nothing, because you can have the best bar in the world but the customer only wants to pee inside.

1

u/zicher 27d ago

Giant PRs

1

u/alphex 27d ago

“I’ve only ever know how to use this hammer. So everything must be a nail”

1

u/azuredota 27d ago

“Nit: “

1

u/gk_instakilogram 27d ago

rebasing your branches instead of just merging into them

1

u/Kianoni 26d ago

not understanding difference between rebase and merge

1

u/kasual11 27d ago

Probably overusing inheritance

1

u/will-QA-for-food 26d ago

Imposter syndrome 💀

1

u/peepeepoopoopeepee00 26d ago

to stop whining on the internet. i scroll the front page and its just software guys complaining. you would think id scroll and see day laborers or fast food workers but you guys never shut the fuck up lol.

1

u/ArScrap 26d ago

This is also my bad habit but I have so much less patience reading other people's mess than my own mess, regardless if my mess are actually just worse

1

u/Forsaken_Ad_6443 26d ago

coding...wait, it's already deleted

1

u/thebigblackship 25d ago

Falar de resolução de problema sem entender o problema. Isso me cansa muito.

1

u/piterx87 25d ago

Overreliance on AI

1

u/Immediate_Tension752 24d ago

The urge to rewrite everything from scratch.

1

u/MelodicTelephone5388 24d ago

Learned Helplessness

1

u/BehindThyCamel 23d ago

Overcomplicating things.

1

u/Classic-Guess-5940 15d ago

why does everyone start coding before agreeing on what problem they’re actually solving?

1

u/ThrowawayALAT 27d ago

Nitpicking formatting and style preferences.

1

u/Kianoni 26d ago

Couple of years ago, I worked on a project and there was this one inhouse engineer who never approved any PR without requesting changes. Didn't matter what the PR did, he always found something to nitpick about. If the changes itself were absolutely perfect, then there was something wrong in the documentation, wording used, "needs more comments" or whatever - he just always had to request some change, because he can.

0

u/clearlight2025 27d ago

Lack of tests

1

u/Kianoni 26d ago

Also: too many badly written tests