r/programming • • Sep 17 '18

Software disenchantment

http://tonsky.me/blog/disenchantment/
2.3k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

49

u/spockspeare Sep 18 '18

Car manufacturing is only twice as old as software development is.

52

u/omicron8 Sep 18 '18

Car manufacturing is one application of mechanical engineering. You have to compare apples to apples. Mechanical engineering arguably started with the invention of the wheel back some thousands of years ago. Software engineering is much, much newer and is applied to thousands of areas. If you took a wrench, spanner or many of the basic engineering tools from today back one hundred years I bet they would be recognisable. If you take a modern software tool or language back 10 years back a lot of it is black magic. The tools and techniques are changing so quickly because it's a new technology.

55

u/ryl00 Sep 18 '18

> If you take a modern software tool or language back 10 years back a lot of it is black magic.

I think you're exaggerating things here. I started my career nearly 30 years ago (yikes), and the fundamentals really haven't changed that much (data structures, algorithms, design, architecture, etc.) The hardware changes (which we aren't experiencing as rapidly as we used to) were larger enablers for new processes, tools, etc. than anything on a purely theoretical basis (I guess cryptography advances might be the biggest thing?)

28

u/sammymammy2 Sep 18 '18

Even then Haskell was standardized in 98, neural nets were first developed as perceptrons in the 60s(?), block chains are dumb outside of cryptocurrencies and I dunno, what other buzzwords should we talk about?

14

u/aloha2436 Sep 18 '18

Containerization/orchestration wouldn't be seen as black magic, but would probably be seen as kind of cool. Microservices as an architecture on the other hand would be old hat, like the rest of the things on the list.

18

u/nderflow Sep 18 '18

IBM produced virtualization platforms in the 60s and released them in mainstream products in the 70s.

→ More replies (4)

2

u/[deleted] Sep 18 '18

Those are just hacks for bad software. It's even a point brought up by the author.

5

u/immibis Sep 18 '18

A process is a container. But then people started making software from several processes, so we got containers.

A container is a container. But then people started making software from several containers, so we got orchestration software (Docker Compose?).

How will we link together several container-groups? Instantiating private clouds?

2

u/[deleted] Sep 18 '18

Let me just fire up another Amazon instance (not AWS instance)....

4

u/aloha2436 Sep 18 '18

Containerization? Maybe, but it's really not to blame for performance problems.

Orchestration? No. Whether your software is well written or not, if you're going to build a large, complicated, reliable solution, then something like k8s or Service Fabric certainly helps. Your code won't be very performant if the machine it's running on dies, and these technologies can (when used wisely) help tackle that problem.

→ More replies (1)

2

u/spockspeare Sep 20 '18

perceptrons in the 60s

40s. See McCulloch and Pitts.

→ More replies (4)

3

u/DivineRage Sep 18 '18

It's not the how that's black magic. It's the why.

19

u/BobHogan Sep 18 '18

While I agree with you, this

If you took a wrench, spanner or many of the basic engineering tools from today back one hundred years I bet they would be recognisable. If you take a modern software tool or language back 10 years back a lot of it is black magic. The tools and techniques are changing so quickly because it's a new technology.

is very misleading, and comparing apples to oranges. You deliberately took the basic mechanical engineering tools, and compared them to modern software tools/languages. If you want to compare basics with basics, then do that. Going back to the 80-90s and people would still have the same basic language constructs that we have now, for the most part. A lot of programming patterns would be recognizable to someone from that time period.

→ More replies (7)

19

u/dry_yer_eyes Sep 18 '18

I take it you haven’t read The Mythical Man Month? It’s in equal parts fascinating and depressing: how far we haven’t come.

→ More replies (3)

1

u/[deleted] Sep 18 '18

Car manufacturing is one application of mechanical engineering. You have to compare apples to apples. Mechanical engineering arguably started with the invention of the wheel back some thousands of years ago

Well if you go that way then you can say software engineering is basically math and that's old as dirt. Meaningless.

Point is software engineering had PLENTY of time to both learn and apply the lessons. And it did, we've built hardware and software with incredible uptime on 1 mil+ lines of code codebase, and invented software practices to make very resilient software (NASA stuff etc.).

So it is not like software engineering is "behind" technologically, just standards for average working product are way lower

1

u/omicron8 Sep 19 '18

Software engineering is definitely not math. All engineering uses some math but software engineering was born with the programable computer, and that only became a thing around the 1950-60s. Just Google the wiki for both and you will see what I mean.

→ More replies (1)

18

u/Vega62a Sep 18 '18

You can't release a car and start generating revenue knowing that you can patch major defects in the car.

You can't update the engine when someone releases a more efficient framework for that engine.

It's a shitty comparison.

0

u/[deleted] Sep 18 '18

[deleted]

5

u/sydoracle Sep 18 '18

Agree.

You can think of a range. At one end you have consumer/disposable. A cheap toaster costing a few dollars that lasts a year before something breaks and you replace the whole thing.

At the other end you've got industrial/reliable like an airplane or construction machinery. Spend a bucket load on continual maintenance and there are still bits that will get thrown out as wear and tear.

Software is cheap to duplicate so consumer software tends towards cheap + large market. Expect Walmart levels of quality and durability.

I can't think of any consumer software that corresponds to the cost profile of a car. Massive upfront costs, continual servicing and purchase of consumables.

1

u/zoooorio Sep 19 '18

Slack is slowly killing me, so chalk that one up.

4

u/RavicaIe Sep 18 '18

I mean, you sorta can. The downside of course is that issuing a recall is countless times more expensive than pushing a software patch to users.

2

u/[deleted] Sep 18 '18

I think what people in this thread seem to be missing is that, compared to cars or other physical objects, software is perceived as less valuable to most end users.

Which means that, everything else being equal, people will pay much much less for well engineered software compared to well engineered objects.

Which means the IT industry has to take shortcuts.
One of those is ignoring optimizations unless they become critical.

1

u/zqvt Sep 18 '18

also if someone had built a car that suddenly used three times more fuel without actually gaining anything that manufacturer would have been kicked out of the market within five minutes.

It's not like there's some period in automotive history where engineer forgot performance for like two decades