People have a tremendously distorted view of reality due to their own biases. Myself definitely included. "It is difficult to get a man to understand something, when his salary depends upon his not understanding it!" - Upton Sinclair
More concretely in the field of software engineering: Accurate, precise estimates are more expensive than the actual task itself. If someone asks you "how long until it is done", the only reasonable answer is just as long as you've already spent, even if you're close to the end of the project. a "three week project" on week 3 will most likely take another 3 weeks, all else being equal. Nobody has any idea, they're just making it up as they go along. If you do the math, you're ahead of almost everyone. Most people won't do math to save their own life. Same goes for reading. If you actually read documentation or source code, you're in a very slim minority. Most people just google.
Inaccurate, optimistic estimates are often a feature. Many projects that turn out to be very valuable in the end would never have been started if the real time to completion had been communicated right from the start.
Yeah, when we were taught (software) project management with GANTT, I smelled bullshit due to the lack of tolerance of uncertainty in the tool. Thankfully the exam "subverted our expectations" and strongly hinted that "no plan survives contact with the enemy".
> Nobody has any idea, they're just making it up as they go along.
Ha! I came here to say this, and I'm glad you share my opinion. I realize that you're speaking specifically about software estimates, so please excuse me while I take your statement out of context and generalize it to most everything that I've experienced working in software. I'm biased in my views on this at this point, but I tend to notice people falling into two camps (on a spectrum of course): those who are most comfortable with well-defined tasks and low uncertainty, and those who are comfortable making stuff up and running with it. That's a rough, one-dimensional reduction of many qualities, including creativity, certain types of critical thinking, pragmatism, "self-starter"-ness, enthusiasm, etc. In equilibrium, it's the people who are able to distill uncertainty into something resembling certainty that ultimately provide tasks for the people less comfortable with unknowns. Corollary to that is the idea that "correct" is not binary but rather a measure of effectiveness by any number of shifting metrics (e.g. performance, readability/maintainability, "correctness", time and money cost, defect tolerance; all under the general umbrella of priorities). It's one of the things I try to impress most upon junior developers that I mentor, especially when they are just out of bootcamp and haven't learned yet that most problems aren't well defined and don't have an answer in the back of the book, if you would. Essentially, our job is to "make stuff up": always "how", and often "what".
I don't think that it's actually true though. There are definitely areas where I don't have to make it up (anymore, at least). As a trivial example, implementing yet another API endpoint for a web form or something is not something where I have to experiment a lot (anymore).
It's also important to realize that in most fields, people are definitely not just making it up as they go along. A dentist or an airline pilot has extensive training, knows what they are doing and why. This is even true when it comes to estimation tasks.
I'm not actually speaking about software estimates there, I should have used asterisks or something. I mean it even more broadly - most people have no idea what they're doing in any given context, let alone in software with all the complexity. The whole world is just winging it, as a general rule.
The other problem with estimates of time with regard to certain tasks is the pareto principle. Specifically, if I give it to this developer, it will take two days. If I give it to that developer, it will take two weeks. So, how long will it take?
Problem is, if you always give it to the two-day developer your two-week developer might miss out on chances to improve.
One place I worked just billed the client what we would as the reasonable rate and tracked the rest as training. I guess pair programming is one approach to get around this, you'd probably consume a week of dev time total in your example but it's better than two.
> Accurate, precise estimates are more expensive than the actual task itself.
That! That is is. You CAN get accurate estimates. But the cost of doing so is infeasible for any significant project. You can break things down into smaller pieces, easier to estimate. But the bigger the overall complexity, the more small pieces you will miss or fail to see. Or fail to see how parts interact. Or fail to recognize how far the influence of some element may reach. And other reasons estimates turn out wrong. The difficulty of software estimation was recognized in the 1960's. Again in the 1980s during the microcomputer revolution. And again sometimes more recently. When even the biggest companies, with vast resources, and billions of dollars cannot estimate when their product will be ready, how is a small software team expected to precisely do so. There was a joke of which year Windows 95 would ship in. At the same time, a business needs some kind of timetable because many other things need to coordinate with the completion of a software project. Maybe recognize the best you can do is have an idea of how well things are going. As a project gets further along you get a better idea of when it will be complete -- especially when there are lots of unknowns. When constructing a building, there are lots of knowns. How many square feet. How many walls. Electrical outlets. Plumbing fixtures. Etc, etc. They can give you a very good estimate. It's all things they've done before. Software is generally things that you've not done before. (or you may suffer the second system effect if it is)
After doing this for 25 years, I always say "you never get good at estimating, you just get less shitty at it"..
Lots of people don't like that statement, but I stand by it.. I eventually stopped trying to estimate time required to deliver a specific thing, and instead started working backwards and seeing what can be done in the time we have. It's still estimating, but it's somehow a bit easier, especially if you're willing/able to re-evaluate along the way. I know that's basically Agile but I removed all the ritualistic BS. ;-)
I've seen a corollary in my work with legacy system migrations and technical debt.
Often scoping the work and taking so much care to not cause any issues grinds the work to a halt. We could do well with taking a bit more of a risk&fix attitude (after all, leaving it as it is constitutes a BIG risk over an infinite time frame).
Company representatives and management will outright lie to you about the things they claim the company values. Things like "people come first", "we work hard and play hard", "work/life balance is crucial" and "code maintenance is important". If you want to find out what a company actually values, pay attention to what it incentivizes, and also where it deploys it's leukocytes. Often, people who work for a company assume the company values some concept or principal we shall call "X". In reality, the company doesn't actually value X. Oftentimes the company could not care less about X or even disdains X. But: they value VALUING X! (Go ahead and read that twice). The meta-valuing of things often produces a much different, often opposite result on the ground than the valuing of things - an important distinction.
Also real company values are things that have reasonable opposites, i.e. things that help you make a choice. Ideally, they even make this explicit.
Example: We value having fun at work over sense of duty. Or we value good customer experience over high efficiency. In those cases, it's clear that something generally good (sense of duty, high efficiency) is being rejected in favour of something else the company values. Examples of meaningless values are things like "integrity" or "constant improvement" where it's hard to imagine anyone wanting the opposite. Unless you can imagine a competitor picking as a company value "we're committed to maintaining the status quo and never improving" then "constant improvement" is not a good guiding principle for you. It's just common sense! The very worst are the ones that pick opposites and value both. Like "quantity and quality" or more subtly "independence and teamwork", "research and intuition".
The most important part of executive management is building the system, which consusts of hiring, firing, solving problems, and setting policies. There's an old joke: Can you make a better burger than McDonald's? Sure. Can you build a better burger-making system, though?
Most executives are incompetent, having little to no training in management. Rather than solving problems, they shift them to employees, vendors, even customers. This is why unions are such a disaster for most execs. The skill of hiring is evident from the top down, be it good or bad. And it will affect an organization for decades after. An organization will come to reflect the leadership, from the top. The people and policies will shape it into the image of its leadership. Mostly that leadership can't see itself reflected in the group.
The insane amount of work that goes into QA of consumer electronics.
I also now viscerally understand how China has a stranglehold on world manufacture of electronics. The concentration of skill, infrastructure, and related industries in Shenzhen or other Chinese industrial cities is unequaled in the USA. We have utterly given that up to Asia. Back to QA: I learned what "DPPM" means: Defective Parts Per Million. A modern, large-scale production pipeline measures failure rates at the per-million level. Also, the amount of iterations in developing a product for mass-production. From that perspective, a well-produced thing on Hackaday barely qualifies as a proof-of-concept, from a production perspective.
It's now obvious to me that recovering this capability in the US would require decades of focused investment and trade policy. The Foxconn debacle in Wisconsin is just that, a debacle. Scott Walker is an even bigger fool than I thought. I've lost hope for the US political class to have the concerted will to enact the required policies and incentives.
On the other hand, the amount of money you can actually make on electronics manufacturing pales in comparison to the money that can be made selling software for those devices. The margins in electronics suck, and this is coming from someone who really enjoys doing electronics design.
It's also worth noting that in a lot of areas the software effort required to make things work well dwarfs the work that goes into the physical hardware, both in terms of money and engineer time. Anyone can spin up a board with some chips but actually doing all the bringup/drivers/DSP/UI requires a ton of skill and effort. I think it's probably ok to let Asia have this and worry about staying ahead on all the tons of stuff that has to go on top.
> I think it's probably ok to let Asia have this and worry about staying ahead on all the tons of stuff that has to go on top.
Why does it have to be mutually exclusive? We should have a strong manufacturing base in addition to being strong in software and "stuff that has to go on top".
> Anyone can spin up a board with some chips but actually doing all the bringup/drivers/DSP/UI requires a ton of skill and effort.
I disagree. As an embedded software engineer myself, there's a ton of driver work out there that's hacky, low-quality work coming out of cheap areas... and we still rely on it. The niches for high-value software design related to hardware are shrinking rapidly.
The insane amount of work that goes into just manufacturing.
The United States prides itself by having high-value functions like design, while offshoring manufacturing. But manufacturing consumer electronics is no longer simple. We have given up on manufacturing these electronics completely.
> We have given up on manufacturing these electronics completely.
I don't think it was the American people so much as it was the CEOs who were pandering to Wall Street in their quest for ever-increasing shareholder value.
It's so short sighted because good product design and design thinking led projects need to be close to the production methods to design to and for them.
https://en.wikipedia.org/wiki/Design_thinking
For those wondering about this, I recommend some of the electronics factory tour videos on the YouTube channel Strange Parts. Even a small component manufacturer will generally have automated inspection of in-progress items on the line, automated test harnesses for functionality testing, x-ray machines for verifying connections, human QA of a subset of final products for functionality, and human QA of final product aesthetics. An interesting note on this is that it's getting noticeably more automated over time thanks to improvements in computer vision, cameras, and sensors.
Unfortunately, software seems to have gone the other direction with many companies ditching their QA departments and relying solely on "Developers Own Quality" initiatives.
Mechanical Engineer here: DPPM has been around forever at least since six-sigma and Total Quality Management was touted to improve Japanese manufacturing after WWII.
Today it seems the Six-sigma fad is over and everyone is trying to be lean and agile, even in businesses that need fat and slow to management complexity. That physical manufacturing seems like some form of wizardy to people now just shows how containerized our product ecosystem has become, people can press buy now on amazon with no understand of how the thing was made. I kind of forget that NPI (new product introduction) engineering is second nature to me now after nearly a decade of training, but to being able to robustly deliver a designed and manufactured physical product seems hard to many.
Comments (727) 168 threads
Earlier commentsMore concretely in the field of software engineering:
Accurate, precise estimates are more expensive than the actual task itself.
If someone asks you "how long until it is done", the only reasonable answer is just as long as you've already spent, even if you're close to the end of the project. a "three week project" on week 3 will most likely take another 3 weeks, all else being equal.
Nobody has any idea, they're just making it up as they go along.
If you do the math, you're ahead of almost everyone. Most people won't do math to save their own life. Same goes for reading. If you actually read documentation or source code, you're in a very slim minority. Most people just google.
Inaccurate, optimistic estimates are often a feature.
Many projects that turn out to be very valuable in the end would never have been started if the real time to completion had been communicated right from the start.
Ha! I came here to say this, and I'm glad you share my opinion. I realize that you're speaking specifically about software estimates, so please excuse me while I take your statement out of context and generalize it to most everything that I've experienced working in software.
I'm biased in my views on this at this point, but I tend to notice people falling into two camps (on a spectrum of course): those who are most comfortable with well-defined tasks and low uncertainty, and those who are comfortable making stuff up and running with it. That's a rough, one-dimensional reduction of many qualities, including creativity, certain types of critical thinking, pragmatism, "self-starter"-ness, enthusiasm, etc. In equilibrium, it's the people who are able to distill uncertainty into something resembling certainty that ultimately provide tasks for the people less comfortable with unknowns.
Corollary to that is the idea that "correct" is not binary but rather a measure of effectiveness by any number of shifting metrics (e.g. performance, readability/maintainability, "correctness", time and money cost, defect tolerance; all under the general umbrella of priorities).
It's one of the things I try to impress most upon junior developers that I mentor, especially when they are just out of bootcamp and haven't learned yet that most problems aren't well defined and don't have an answer in the back of the book, if you would. Essentially, our job is to "make stuff up": always "how", and often "what".
It's also important to realize that in most fields, people are definitely not just making it up as they go along. A dentist or an airline pilot has extensive training, knows what they are doing and why. This is even true when it comes to estimation tasks.
The good news is, they're just passing through.
One place I worked just billed the client what we would as the reasonable rate and tracked the rest as training.
I guess pair programming is one approach to get around this, you'd probably consume a week of dev time total in your example but it's better than two.
That! That is is.
You CAN get accurate estimates. But the cost of doing so is infeasible for any significant project.
You can break things down into smaller pieces, easier to estimate. But the bigger the overall complexity, the more small pieces you will miss or fail to see. Or fail to see how parts interact. Or fail to recognize how far the influence of some element may reach.
And other reasons estimates turn out wrong.
The difficulty of software estimation was recognized in the 1960's. Again in the 1980s during the microcomputer revolution. And again sometimes more recently. When even the biggest companies, with vast resources, and billions of dollars cannot estimate when their product will be ready, how is a small software team expected to precisely do so. There was a joke of which year Windows 95 would ship in.
At the same time, a business needs some kind of timetable because many other things need to coordinate with the completion of a software project.
Maybe recognize the best you can do is have an idea of how well things are going. As a project gets further along you get a better idea of when it will be complete -- especially when there are lots of unknowns.
When constructing a building, there are lots of knowns. How many square feet. How many walls. Electrical outlets. Plumbing fixtures. Etc, etc. They can give you a very good estimate. It's all things they've done before.
Software is generally things that you've not done before. (or you may suffer the second system effect if it is)
Lots of people don't like that statement, but I stand by it..
I eventually stopped trying to estimate time required to deliver a specific thing, and instead started working backwards and seeing what can be done in the time we have.
It's still estimating, but it's somehow a bit easier, especially if you're willing/able to re-evaluate along the way.
I know that's basically Agile but I removed all the ritualistic BS. ;-)
Even if I get better at it, a lot of my younger coworkers do not. So the phenomena seems to continue.
Often scoping the work and taking so much care to not cause any issues grinds the work to a halt. We could do well with taking a bit more of a risk&fix attitude (after all, leaving it as it is constitutes a BIG risk over an infinite time frame).
Example: We value having fun at work over sense of duty. Or we value good customer experience over high efficiency.
In those cases, it's clear that something generally good (sense of duty, high efficiency) is being rejected in favour of something else the company values.
Examples of meaningless values are things like "integrity" or "constant improvement" where it's hard to imagine anyone wanting the opposite. Unless you can imagine a competitor picking as a company value "we're committed to maintaining the status quo and never improving" then "constant improvement" is not a good guiding principle for you. It's just common sense!
The very worst are the ones that pick opposites and value both. Like "quantity and quality" or more subtly "independence and teamwork", "research and intuition".
Most executives are incompetent, having little to no training in management. Rather than solving problems, they shift them to employees, vendors, even customers. This is why unions are such a disaster for most execs.
The skill of hiring is evident from the top down, be it good or bad. And it will affect an organization for decades after.
An organization will come to reflect the leadership, from the top. The people and policies will shape it into the image of its leadership. Mostly that leadership can't see itself reflected in the group.
I also now viscerally understand how China has a stranglehold on world manufacture of electronics. The concentration of skill, infrastructure, and related industries in Shenzhen or other Chinese industrial cities is unequaled in the USA. We have utterly given that up to Asia.
Back to QA: I learned what "DPPM" means: Defective Parts Per Million. A modern, large-scale production pipeline measures failure rates at the per-million level. Also, the amount of iterations in developing a product for mass-production. From that perspective, a well-produced thing on Hackaday barely qualifies as a proof-of-concept, from a production perspective.
It's now obvious to me that recovering this capability in the US would require decades of focused investment and trade policy. The Foxconn debacle in Wisconsin is just that, a debacle. Scott Walker is an even bigger fool than I thought. I've lost hope for the US political class to have the concerted will to enact the required policies and incentives.
It's also worth noting that in a lot of areas the software effort required to make things work well dwarfs the work that goes into the physical hardware, both in terms of money and engineer time. Anyone can spin up a board with some chips but actually doing all the bringup/drivers/DSP/UI requires a ton of skill and effort.
I think it's probably ok to let Asia have this and worry about staying ahead on all the tons of stuff that has to go on top.
Why does it have to be mutually exclusive? We should have a strong manufacturing base in addition to being strong in software and "stuff that has to go on top".
Continue this thread — 1 reply
I disagree. As an embedded software engineer myself, there's a ton of driver work out there that's hacky, low-quality work coming out of cheap areas... and we still rely on it. The niches for high-value software design related to hardware are shrinking rapidly.
The United States prides itself by having high-value functions like design, while offshoring manufacturing. But manufacturing consumer electronics is no longer simple. We have given up on manufacturing these electronics completely.
I don't think it was the American people so much as it was the CEOs who were pandering to Wall Street in their quest for ever-increasing shareholder value.
And looking at the meteoric rise of Huawei, Xiaomi, and Mediatek, I have no doubt that the US will lose that lead sooner than we think.
Today it seems the Six-sigma fad is over and everyone is trying to be lean and agile, even in businesses that need fat and slow to management complexity.
That physical manufacturing seems like some form of wizardy to people now just shows how containerized our product ecosystem has become, people can press buy now on amazon with no understand of how the thing was made.
I kind of forget that NPI (new product introduction) engineering is second nature to me now after nearly a decade of training, but to being able to robustly deliver a designed and manufactured physical product seems hard to many.
All comments shown.
Couldn't load more comments. Check your connection and try again.