r/AskProgramming • • Mar 12 '24

Do software engineers not care?

I've only been in the industry for a few years, but I have tried my best from the beginning to educate myself on best practices and ways to gather evidence to prioritize improvements. I try to take an evidence-based approach as often as possible.

But when I try to encourage my team to adopt better practices like TDD, or breaking down the silos between developers and testers, or taking to customers more often, I get crickets.

Today, I tried getting a product owner to change a feature so that it didn't consolidate too many things and create too much complexity and coupling. I cited DevOps Report and some quantitative examples of the negative ramifications of coupling and complexity published in IEEE. Their response was a polite version of "I just what you're saying, but I disagree and we'll do it my way anyway," with some speculation but no evidence to back it up.

Am I taking crazy pills? Do developers just not care about evidence or research or doing better at their jobs?

134 Upvotes

237 comments sorted by

View all comments

Show parent comments

5

u/CanvasFanatic Mar 13 '24

I literally can’t think of a single principle of software development that should be used when developing “any kind of software.”

1

u/wildgurularry Mar 13 '24

How about the KISS principle?

1

u/CanvasFanatic Mar 13 '24 edited Mar 13 '24

I mean… that’s just Occam’s Razor applied to software? But sure, maybe. There’s a lot of room for interpretation inside “simple” though.

1

u/wildgurularry Mar 13 '24

Sure! How about descriptive names for variables? I inherited some code from a team that named their variables things kind "d", or "v", or "ptr", or "handle". Class names, class members, local variables, all named like this. Fun times. I kinda feel like that should be a universal best practice.

5

u/CanvasFanatic Mar 13 '24

Ah, see I remember programming on my calculator in high school and literally every character counted toward the size of the program and eventually made it impossible to edit.

1

u/arathald Mar 17 '24

If you interpret that as “as simple as possible while doing its job properly” (which includes performance requirements), I’d probably agree with you, but you can push this pretty far. Obfuscation does have its legitimate uses, and I think at that point the complexity is part of the job so… does that meet KISS? Does it not apply in that case? Do you narrow it to exclude intentional obfuscation?

This is the problem with universal “goods” in a field like this - maybe you can’t think of a counterexample, but I would be surprised if someone couldn’t.