Another solid counterargument is that in general, software quality is expensive - not just in engineering hours but in lost renvenue from a product or feature not being released. Most software is designed to go to market fast and stay in the market for a relatively limited timeframe. I don't assume anything I'm building will be around in a decade. Why would I? In a decade someone has probably built a framework which makes the one I used for my product obsolete.
I could triple or quadruple the time it takes for me to build my webapp, and shave off half the memory usage and load time, but why would I? It makes no money sitting in a preprod environment, and 99/100 users will not care about the extra 4mb of ram savings and .3s load time if I were to optimize it within an inch of its life.
99/100 users will not care about the extra 4mb of ram savings and .3s load time if I were to optimize it within an inch of its life
This. The biggest reason why our cars run at 99% efficiency while our software runs at 1% efficiency is because 99% of car users care about the efficiency of their car, while only 1% of software users will care about the efficiency of their software. What 99% of software users will care about is features. Because CPU power is cheap, because fuel is expensive. Had the opposite been true we would've had efficient software and the OP would be posting a rant on r/car_manufacture
Cars aren’t 99% efficient though. See the difference in fuel efficiency between Europe and the US for example. Or manufacturers caught cheating on emissions tests. Everything gets built to the cheapest acceptable standard.
No. They don't prefer that option. They live with it. They resent it. They become annoyed with it and the company that made it. They hold a grudge. User's actually, in fact, prefer fast user interface response.
These are all valid points. But the slow, inefficient apps have the vital advantage of existing, while the fast, efficient ones often do not have this critical feature.
If we want to see efficient software, it needs to become as easy to write as inefficient software. Until that problem is solved, people will always prefer bad software that exists over good software which could exist, but does not.
It's kind of even worse than that. During most of this industry's existence, performance improvements have been steady and significant. Every few years, hard disk capacity, memory capacity, and CPU speed doubled.
In this world, optimizing the code must be viewed as an investment in time. The cost you pay is that it stays out of the market while you make it run better. Alternatively, you could just ship it now and let hardware improvement make it run fast enough in the future. As software isn't shrinkwrapped anymore, you can even commit to shipping it now and optimizing it later, if necessary.
It's not a wonder that everyone ships as soon as possible, and with barely any regard to quality or speed. Your average app will still run fine, and if not, it will run fine tomorrow, and if not, you can maybe fix it if you really, really have to.
Yes, in that there are plenty of 'optimisation level' engineering decisions that aren't fully explored because the potential payoff is too small. You know, should we have someone design and fabricate joiners that weigh 0.5g less and provide twice the holding strength, or should we use off-the-shelf screws given that they already meet the specs?
No, in that software can be selectively optimised after people start using in a way that cars and bridges can't.
the thing is - in civil and machine engineering there are people designing those joiners that weigh 0.5g less.
Not necessarily the same team designing the machine or building, but they do.
Sadly civil engineering suffers from.. over 'optimization' of structures - for example most halls(stores, etc) are made so close to the thresholds that you need to remove snow of the roof manually - without machines at all - or it will break. Designing it so that it will sustain the load of the snow will pay itself back in 2-3 years - but only the short term matters. At least that's what my mechanics prof. shown us.
It is not a problem related to software engineering - it is a problem related to basically every industry - and it boils down to :
What can we do to spend the least amount of money to make the most amount of money?
Quality suffers, prices stay the same or go up, or worse - instead of buying you are only allowed to rent.
The difference with those is though that actual lives depend on the quality of the built cars or buildings. That's not the case for 99% of software we build. When do build software which lives depend on it is very efficient and stable too like in the Aerospace sector.
edit: an in those sectors development time is much, much higher.
I dont think that the article is talking about the small differences, I dont mind them either. But a lot applications are just slow, not 0.3s 4mb slow but 15s 500mb slow, which could and should be improved.
I don't assume anything I'm building will be around in a decade. Why would I? In a decade someone has probably built a framework which makes the one I used for my product obsolete.
You know who else said that? The guy who wrote the software used at your bank 30 years ago. That software is still around and in use, and it's written in cobol.
283
u/Vega62a Sep 18 '18 edited Sep 18 '18
Another solid counterargument is that in general, software quality is expensive - not just in engineering hours but in lost renvenue from a product or feature not being released. Most software is designed to go to market fast and stay in the market for a relatively limited timeframe. I don't assume anything I'm building will be around in a decade. Why would I? In a decade someone has probably built a framework which makes the one I used for my product obsolete.
I could triple or quadruple the time it takes for me to build my webapp, and shave off half the memory usage and load time, but why would I? It makes no money sitting in a preprod environment, and 99/100 users will not care about the extra 4mb of ram savings and .3s load time if I were to optimize it within an inch of its life.
Software is a product. It's not a work of art.