Live data from Hacker News

Are software engineering “best practices” just developer preferences?

floverfelt.org

341–350 of 369 posts

Re: Are software engineering “best practices” just developer preferences?

#341
post #224

Earlier quoted context omitted.

It's a bit like saying that you are a doctor, nurse or a lawyer (attorney?). In Canada these are protected titles that can only be used if you are part of a professional order that has oversight over your activities and can audit your work at basically any time. There are some tasks that can only be performed if you are certified and pay the annual fees. Where this falls apart is that "Software Engineering" is a real…

Exactly what I was trying to get across. The protected term is meaningless even if enforced, it seems to me, because there are no "reserved tasks," as you say. It's bit like... being able to practice law as long as you don't call yourself a lawyer. You're a legal assistant instead. In a similar fashion developers are practising software engineering without calling themselves, "engineers." I don't think we all need to…

For what it's worth, the latest revision of the Engineers Act in Quebec (2020, the previous revision was from 1962), has a much wider definition of engineering works and reserved acts, which does include software, if it can have an impact on the safety of persons.

I am not a lawyer (mech engineer), but that's the message that the OIQ has been sending lately. It's unclear when and how they plan to start applying these new regulations.

Re: Are software engineering “best practices” just developer preferences?

#342
post #74
post #34

Earlier quoted context omitted.

Civil (and other engineering) got better because there was motivation to improve that came from multiple directions: literal lives at stake, the pride of good craftsmanship, iterative or even grand steps forward in knowledge, etc. Software engineering as a discipline is dominated by appeals to authority ("Clean Code", "Google does it this way", "Djikstra said so", etc.) without any (or at least not much) attempt to a…

This is a symptom of the lack of knowledge not a cause. Imagine you want to built a building but no one really knows how, then copying successfully completed buildings, and established construction engineers and companies is a pretty good idea. That's what's going on in SE.

It's both, as it's a feedback cycle. This industry, like many others, rewards narcissism and loudmouths above all else. It does so in the large (e.g. Fowler or Uncle Bob worship; "ex-FAANG" cache) and in the small (the self-promoting engineer who touts his work even if it's not all that great gets promoted over the "soft-power" engineer managing tough projects lowkey). In this environment the symptom feeds the cause, because nobody stops to question whether the symptom is even a symptom. The root cause, ignorance, is entrenched and made deeper, which feeds the symptom. And so on.

Re: Are software engineering “best practices” just developer preferences?

#343
post #342
post #74

Earlier quoted context omitted.

This is a symptom of the lack of knowledge not a cause. Imagine you want to built a building but no one really knows how, then copying successfully completed buildings, and established construction engineers and companies is a pretty good idea. That's what's going on in SE.

It's both, as it's a feedback cycle. This industry, like many others, rewards narcissism and loudmouths above all else. It does so in the large (e.g. Fowler or Uncle Bob worship; "ex-FAANG" cache) and in the small (the self-promoting engineer who touts his work even if it's not all that great gets promoted over the "soft-power" engineer managing tough projects lowkey). In this environment the symptom feeds the cause,…

I just want the fuck out, there no realistic alternative.

Re: Are software engineering “best practices” just developer preferences?

#344
post #254
post #247

Earlier quoted context omitted.

Isn’t it easier to just stick to the term and not fight with it? Everyone involved knows that “software engineering” is not like “civil engineering”, and those who don’t, usually don’t know either. It has no legal nor practical sense, so why bother?

>It has no legal nor practical sense, so why bother? You might be surprised to know that it actually does matter, and it matters in a way that depresses American software engineer salaries: work visas . The fact that the US government considers "software engineering" to be equal to "civil engineering" means that the TN visa (since we're talking about Canada) applies to people qualified to be employed as software engi…

Note that Computer Systems Analyst is a profession listed in NAFTA; I was at a company where they used that. Also, the NAFTA definition of Engineer doesn't require a P. Eng title.

(https://www.nafsa.org/_/file/_/amresource/8cfr2146.htm was linked from state.gov)

Re: Are software engineering “best practices” just developer preferences?

#345

Earlier quoted context omitted.

“Best practices” smells like such a marketing term it should be tossed in the bin. It’s poetic language that has nothing to do with specific problems. What people usually mean when it comes to engineering is “be safe, reliable, and correct.” Security best practices to be safe. Developer best practices for reliability. Etc etc “Best practices” is hand wave-y fluff for “do a good job” and doesn’t need a technical defin…

I think it's very telling just how little engineering there is in Software Engineering that people can call best practices "just preferences" or "marketing fluff" and not be immediately laughed out of the room. Because that's what would happen if someone suggested "best practices smells like a marketing term" in an actual engineering discipline.

Which brings to the realization that we have a lot of software development and much less software engineering.

Re: Are software engineering “best practices” just developer preferences?

#346
post #110

Eh, kinda. Calling something a "best practice" is basically an appeal to authority. It means, "this is the right way to do things, for reasons I don't have time to explain." There are times when that's appropriate. But really, "best" and "right" are highly situational. Any rule of thumb, even the most basic and uncontroversial, has a situation where it doesn't apply. I was part of a discussion on a mailing list years…

Sometimes "best practice" is not because we need to worship a standard, but we need to have a standard. If everyone does everything in a different manner, you wind up with a tower of babel and support becomes impossible. I'm of the mindset where an organization needs to agree to specific principles that everyone adheres. Not dogmatically but pragmatically. Having that shared "best practice" makes is easier to support…

[deleted]

Re: Are software engineering “best practices” just developer preferences?

#347

The biggest issue I saw with "best practices" in my career is the failure to take into account who it claiming it to be a best practice, and in what context . I saw too many junior developers read a rando blog article, then get a non-technical / semi-technical manager excited about something that made their life easier, even though it was by no means a good practice for the context at hand. Or alternatively, believe…

To add on to this, the current most preached about "best practices" comes largely from a de-risking, never-ever fail point of view, ie. 'safety'. Unfortunately with such standards also comes a concept known as 'acccountability', ie. 'ass-covering' practices that provide little practical value. This results in programmers no longer being able to iterate fast and having to rely on some third-party whose tradeoffs they…

Do you have any concrete examples of that? I think I kind of see what you mean, and I have a feeling that this is mostly right, but I'm not sure.

Re: Are software engineering “best practices” just developer preferences?

#348
post #326

Earlier quoted context omitted.

To add on to this, the current most preached about "best practices" comes largely from a de-risking, never-ever fail point of view, ie. 'safety'. Unfortunately with such standards also comes a concept known as 'acccountability', ie. 'ass-covering' practices that provide little practical value. This results in programmers no longer being able to iterate fast and having to rely on some third-party whose tradeoffs they…

I am not sure if I read you right here (correct me if I am wrong), but do you say that safety and stability concerns lead to bloated software because devs cannot blindly trust third party dependecies? Because if so, yeah. You are responsible for the software you write and the dependecies you use. Software engineering is one of the least responsible engineering diciplines anyways. I am e.g. also a certified electrical…

IMO, much of the low engineering standards in software is from a (potentially false) awareness in the industry that most products we work on simply aren't that valuable. If a bug deletes my Twitter account, that sucks to me be for a day but no real harm was done. The people who work in banking or healthcare IT tend to know better and have correspondingly higher (though still shockingly low) standards.

Re: Are software engineering “best practices” just developer preferences?

#349
post #282

Earlier quoted context omitted.

Managers excited about a new tech idea are probably the most destructive thing in the industry.

As are managers that conform to archaic tech when better options exist.

Especially when maintaining and adding to a legacy system takes more effort and risks than simply rebuilding it.
Post reply on HN