News for hackers. Stuff that matters.
Re:Why are we so bad at software engineering? by xnx on Wednesday February 12, 2020 @06:38PM (#22313965)
Agreed. An insult to real engineers. As misleading as calling programmers Software Doctors.
Re:Why are we so bad at software engineering? by exdsq on Thursday February 13, 2020 @03:55AM (#22316298)
You can become a chartered engineer based on software engineering expeirence and a CS degree. Ergo, you can be a software 'engineer'.
Re:Why are we so bad at software engineering? by junar on Wednesday February 12, 2020 @09:16PM (#22314766)
Ironically, the title "Doctor" originally meant "teacher".

https://www.merriam-webster.com/words-at-play/the-history-of...

Re:Why are we so bad at software engineering? by wruza on Wednesday February 12, 2020 @07:00PM (#22314105)
What does SWE actually do? I mean, I have some ideas how e.g. building or bridge engineers work and how they plan their projects. Standards, blueprints, legal safety requirements, physics, calculations, approval, etc. But what is software engineering in short?

Upd: is there AutoCAD for software?

Re:Why are we so bad at software engineering? by tracker1 on Wednesday February 12, 2020 @08:03PM (#22314449)
Most software and for that matter, most software developers don't need that level of detail. It's the difference between building a nice doghouse and a skyscraper. The problem is too few know the difference, fewer still know how to hire properly, and many seem to think that one developer is interchangeable with any other.

Of course tethering to education requirements doesn't mean much. I think a formal guild where you build your representative value by the endorsement and status of others, and if you fail, not only are you brought down, but those that endorsed you will lose cred as well. Setting up such a system would be difficult and take time, and I'm unsure if it would ever reach critical mass.

Also, unlike doctors and other fields, I don't think you should have to be formally licensed to work in software. Most initial developers are, were, and continue to be cross trained from other fields.

Re:Why are we so bad at software engineering? by wruza on Thursday February 13, 2020 @01:55AM (#22315860)
>It's the difference between building a nice doghouse and a skyscraper. The problem is too few know the difference

That’s what my question is about!

Building engineer knows or reads N54.s-1e/624 “on public safety in a first floor lobby” to design it. It may specify various requirements like no sharp edges, glass walls need stripes on them, non-slippy floors, etc. Then when they need to add an electronic lock to all main entries, they contract with a seller whose locks are licensed with LS9-41.3/FLL. Then firefight inspection validates these entries for public safety again, involving standardized legal rules.

I don’t even try to describe the actual building from the ground to the concrete structure process, because that will be too naive. Lots of standards, requirements, ready-to-use plans, or a project approval process that requires half a year for a shallow review of all documents in many controlling departments.

What I’m interested in, is there such a level of engineering in software at all. I don’t know about anyone who did something like a regular building engineer does at the / before the construction site, but in software. Is there such a thing like Software Engineering at all? All popular software doesn’t seem to have signs of no-dog-house, when you read their code.

Re:Why are we so bad at software engineering? by jinglebells on Friday February 14, 2020 @05:31AM (#22325446)
I'm not sure it answers your question but in software, the requirements are almost never codified up front because extracting the rules is part of the project.

In terms of the dog-house, there's that rule "Build one to throw away". Since no two software projects are similar, the only way to truly know what you're building is to build it, see what works, throw it away, then build it properly.

Part of what makes software so good is that you _can_ upgrade the skyscraper while people are in it, metaphorically hardening floors or adding new levels.

Re:Why are we so bad at software engineering? by jinglebells on Friday February 14, 2020 @05:35AM (#22325462)
I think the software metaphor for your building codes is basically "Software coding standards and guidelines" and most large platforms will have them. For example https://www.oracle.com/technetwork/java/seccodeguide-139067....

And yes, good software engineers are expected to know those practices.

Re:Why are we so bad at software engineering? by tracker1 on Saturday February 15, 2020 @05:01AM (#22334333)
Aerospace, higher end weapons systems and most medical hardware+software... It's usually when in conjunction with life/death physicality that these things come into play.

Unfortunately, the efforts on some of these systems are much harder to work through in practice than something created more organically.

Re:Why are we so bad at software engineering? by closetohome on Wednesday February 12, 2020 @08:21PM (#22314530)
This is also where non-software companies get into trouble trying to do software projects. They think they're building a house so they hire a carpenter. They don't realize they're also going to need a general contractor and maybe a carpet guy.
Re:Why are we so bad at software engineering? by thu2111 on Thursday February 13, 2020 @08:27AM (#22317518)
I think a formal guild where you build your representative value by the endorsement and status of others, and if you fail, not only are you brought down, but those that endorsed you will lose cred as well.

You mean like, a tech firm? Or a software consultancy business? :)

Re:Why are we so bad at software engineering? by tracker1 on Saturday February 15, 2020 @05:06AM (#22334352)
No, I mean a guild... Closest modern representations would be somewhere between a professional board and a union. Bob was trained by the great Tim, who created Foo and Baz. Tim endorsed Bob as a Journeyman from an apprentice. Steve and Phil (both master level) later endorsed Bob as a Master craftsman.

Bob screws up big time... complaint filed with guild board for review... board revokes Bob's master status (back to journeyman) and notes on Steve and Phil's record.

If Steve and/or Phil get too many hits, they lose their status as well.

Re:Why are we so bad at software engineering? by thu2111 on Monday February 17, 2020 @05:36AM (#22346707)
My point is that what you're describing is a firm, just with different terms.

Bob was trained by the great manager Tim. Tim endorsed Bob from internship to junior engineer to senior architect. Steve and Phil both later recommended Bob for promotion to CTO.

Then Bob screws up big time. The board of directors gets involved. Bob is fired and eventually gets a new job as a middle-manager or lower in some other firm, or if the screwup is large enough, takes early retirement.

The "guild" is doing the same things as a company does. But judging skill, success and failure is quite subjective. That's why we need so many competing firms to get results. A single guild would be like everyone working for a single company. It'd yield very poor results.

Re:Why are we so bad at software engineering? by _jal on Wednesday February 12, 2020 @08:18PM (#22314521)
One big difference is that, at least in many jurisdictions, new (non-software) engineers need to survive what amounts to an apprenticeship. A second one is passing standardized exams and demonstrating experience before achieving the title.

Now, I don't think apprenticeships are unmitigated positives - another function they serve is to limit field entry. But they are, I think, far better than what "we" do, and sorry, pair programming is not a substitute.

I don't know what does AutoCAD have to do with anything. I use it for modeling parts that I machine as a hobby; that doesn't make me a structural engineer.

Re:Why are we so bad at software engineering? by wruza on Thursday February 13, 2020 @02:12AM (#22315929)
By AutoCAD I mean some app that helps you to design architecture and components and then validate these against existing rules. Not a literal mechanics/blueprints AutoCAD, but ?-CAD for software development.

>But they are, I think, far better than what "we" do

They should be far better, but an engineer is not an abstract position. If all it needs to be an SWE is to know 3-book algorithms and some patterns (just my uneducated guess), then it is not engineering. See my other comment for details. Yes, a CS degree adds to ones competence, but it is like saying that physics degree allows you to build an elevator. It doesn’t, it will be just a nice science-grade dog house level elevator, because learning physics doesn’t make you know all standards that elevators require, legally and practically.

Re:Why are we so bad at software engineering? by exdsq on Thursday February 13, 2020 @03:17AM (#22316153)
Maybe something like a UML or data-flow diagram could be similar? There are more formal specifications you can do, as part of 'formal methods', which I think might be closer to some engineering disciplines [0] - here's one from where I work.

I do think software engineering as a discipline exists. Looking at the definition written by the American Engineers' Council [1], there have definitely been teams I've worked on where we met this criteria. There are teams like the Lockheed shuttle group who average 1 bug per release that clearly embody this criteria too.

Also, my CS Masters is accredited as meeting the educational requirements for Chartered Engineer status (which I'm hoping to achieve once I finish) so it's clearly accepted by some in the engineering community!

[0] https://hydra.iohk.io/build/789825/download/1/ledger-spec.pd...

[1] https://en.wikipedia.org/wiki/Engineering

Re:Why are we so bad at software engineering? by vonmoltke on Thursday February 13, 2020 @08:25AM (#22317507)
> One big difference is that, at least in many jurisdictions, new (non-software) engineers need to survive what amounts to an apprenticeship. A second one is passing standardized exams and demonstrating experience before achieving the title.

"[M]any"? Outside of a handful of really anal jurisdictions like Canada I am not aware of any where this is a requirement. I chose not to go this route because I didn't see the value in it for the type of electrical engineering I was interested in.

Re:Why are we so bad at software engineering? by HeyLaughingBoy on Wednesday February 12, 2020 @09:09PM (#22314736)
Delve into the courses listed here, it might help: https://www.msse.umn.edu/MSSE-Master-Science-Software-Engine...
Re:Why are we so bad at software engineering? by thebean11 on Wednesday February 12, 2020 @08:10PM (#22314480)
> is there AutoCAD for software?

JetBrains IDEs?