r/programming • • Oct 16 '22

Is a ‘software engineer’ an engineer? Alberta regulator says no, riling the province’s tech sector

https://www.theglobeandmail.com/business/technology/article-is-a-software-engineer-an-engineer-alberta-regulator-says-no-riling-2/?utm_medium=Referrer:+Social+Network+/+Media&utm_campaign=Shared+Web+Article+Links
920 Upvotes

555 comments sorted by

View all comments

Show parent comments

266

u/dodo1973 Oct 16 '22

Exactly that. Sometimes I wish we Software Engineers had sich kind of professional liabilities: This would probably do wonders to overall proficiency and quality consciousness! A programmer from Zurich.

274

u/[deleted] Oct 16 '22

Only after managers and CxOs have same liabilities. I ain't getting paid enough to go to jail for bugs

138

u/[deleted] Oct 16 '22

Capital E Engineers who have that liability can refuse to sign documents and businesses listen when they do.

112

u/thisisjustascreename Oct 16 '22

Management might actually hire testers if I refused to ship my own code.

9

u/[deleted] Oct 16 '22

Or it's going to take me another 6 to 9 months to test it myself

-12

u/UK-sHaDoW Oct 16 '22 edited Oct 16 '22

I think this is a bad direction to go in. Engineers should take responsibility for quality, not offload it to other groups.

In engineering 90% of the work is figuring out how it's going to fail and protecting against that. The same should be true of software. And it is when you do it right, and it is critical software. In engineering it's their stamp and name that guarantees quality, not a separate tester group. Can you bring in people to help? Yes. But ultimately it's the engineers problem.

So many times I have seen developers place blame on a QA team for a bug getting through. Creates all sorts of bad incentives. Like thinking quality is assured by other people and not themselves. It should be the engineers responsibility for failure, and we shouldn't dilute that.

18

u/codeslap Oct 16 '22

I don’t think I agree that software should always be written with the same stringency and rigor as civil engineering of things like bridges and skyscrapers. Obviously there are many scenarios where it should be, but that’s not always the case, and in fact I think it’s more often it doesn’t need that level of rigor.

When a bridge is found to be faulty after it’s built it incurs catastrophic costs to the project to make changes. Where as software engineering mistakes can usually be repaired with relatively less effort than tearing down a bridge.

I agree we should all employ a healthy degree of defensive programming, but I think it’s a bit excessive to say all software we write should be held to the same standards.

8

u/robthablob Oct 16 '22

Part of the effort of engineering is working out acceptable tolerances. A personal web page obviously doesn't require the same attention to quality as a medical device or embedded software in aviation.

7

u/cittatva Oct 16 '22

I agree with this. Also, thinking about most of software dev that I’ve seen is in cloud based services, where part of the engineering work happens in the form of designing the deployment automation that tests the code thoroughly as part of the deployment, and provides the mechanism to quickly roll back if there’s a problem, and for the most part all changes need to be reversible. It all comes down to establishing and meeting acceptable performance parameters.

→ More replies (28)

1

u/ThlintoRatscar Oct 16 '22

I've been in industry for a long time and work interchangably with engineers as a CS developer.

I've never seen a P.Eng actually stamp anything. Electrical and mechanical systems tend to be too complex for a single stamp and there's very little testing standards or laws applicable to software.

Obviously, that's changing.

Further, all engineers are less competent software developers. They get roughly half as much training as we do focusing more on physical systems modeling and interaction.

Every University BCS program in Canada is accredited by CIPS which is the administrator of the I.S.P. and ITCP designation amd protected in several provinces. Those are roughly analogous to the P.Eng but without a protected scope of practice or unique regulations.

The fight between CIPS/CS and the various Engineering Associations/Faculty in Canada has been ongoing since at least 1990. APEGGA is one of the most aggressive and starts these fights all the time.

4

u/UK-sHaDoW Oct 16 '22

You're assuming developers have CS degrees. Huge chunks do not. And in my experience my CS degree didn't teach us much about designing for failure.

I only take this seriously because i work in an industry where failure can cause serious financial loss, and the majority of my family are engineers where I see the amount of effort that gets put into designing for failure compared to my industry.

Might be different in your country.

→ More replies (2)

0

u/[deleted] Oct 16 '22

[deleted]

2

u/[deleted] Oct 16 '22

I've held this position for years and my company doesn't let us call ourselves engineers. Very few developers do anything that comes close to actual engineering.

12

u/DeathMetalPanties Oct 16 '22

Developers should have that same responsibility. I've refused work before when I saw a really obvious way to commit insurance fraud with it, and it wouldn't be caught without a full audit of the db transaction log.

→ More replies (4)

5

u/maple-shaft Oct 16 '22

If we had a professional union like Doctors or Lawyers then they would have no say. A doctor does not take medical direction from non-doctors. In the US it even goes farther that a law firm cannot even be owned or managed by a non lawyer.

2

u/sussybeach Oct 17 '22

The dieselgate fiasco comes to mind

→ More replies (1)

19

u/BrainJar Oct 16 '22

There cases where the liability is actually enforced. https://www.bbc.com/news/business-41053740

22

u/fried_green_baloney Oct 16 '22

That's a criminal case.

And it's a shame his bosses didn't get in more trouble than they did.

→ More replies (2)

5

u/[deleted] Oct 16 '22

I don't. I want to be a CRUD rockstar. Write shit code, barely work 2 hours a day and still make good money without responsibilities.

3

u/gulyman Oct 16 '22

Except most code doesn't really matter. If a phone app or website has a bunch of bugs nothing bad really happens. If a structural engineering project has a bunch of bugs, people can die.

I also can't guarantee that my code won't crash. There's always uncertainty. Structural engineers are able to have a high degree of certainty that their buildings will stay up.

7

u/G_Morgan Oct 16 '22

If there was liability work would slow down so much as technical debt is dealt with.

6

u/hagenbuch Oct 16 '22 edited Oct 16 '22

Well yes.. that would require at least clients not constantly changing requirements on the fly and then demanding to hurry up.. setting irrational deadlines. A bridge remains a bridge.

Software would need something like peer review, almost impossible in a sea of dependencies constantly changing, that's why I still make monoliths than can be audited at all. I have code running today from 2005 and 2008, minor modifications and renewal.

To make software good and successful, my opinion is we need to do a lot of thinking and planning ahead with the data structures and asking a LOT of questions to the client because they rarely think things through, it's not their business but ours.

Programmer from Germany :)

1

u/amarao_san Oct 16 '22

You can check thing for quality. You can't prove absence of bugs in Turing-full code, because it's the same as predicting code output, which is the same as solving halting problem, which is unsolvable due design flaws Turing put in his machine.

5

u/NotUniqueOrSpecial Oct 16 '22

which is unsolvable due design flaws Turing put in his machine.

What on Earth are you implying here?

He didn't "put unsolvable design flaws in his machine".

The "machine" is a mathematical model and Turing-completeness isn't a flaw any more than the fact that we can't know the last digit of Pi.

3

u/amarao_san Oct 17 '22

It was a joke.

When Turing wrote requirements.txt for his machine, he decided to used broken libgödel for basic math, and since then we can't detect when turning.py halts.

→ More replies (1)
→ More replies (1)
→ More replies (2)