~5 years experience speaking: How do you do this?
I have a very good boss and he knows things, objectively, like "estimates are very squishy," and "developers suck at estimating time" etc. But he still demands time estimates to give clients.
Our clients are often agencies, and they get it as well.
I do estimates like "10-40 hours, depending on XYZ (things I don't know)" sometimes and it doesn't really raise any eyebrows. That may as well say "I don't know."
Are you better than this? Do you just outright refuse or do you have some way you handle it?
Give half-order-of-magnitude estimates as confidence intervals. Avoid using "hours" or "days" as estimates. Story points work really well here.
Be extra clear on priorities and burndowns to make it clear that you're not just blowing them off. Give short but frequent demos (not just reports) of progress. If later they're concerned about progress, you can point back to all the times you reviewed the product, touched base about priorities, and agreed on next steps.
Make risk really clear to them. If the project is 'get it done in three months or bust', then the payoff (ten times the principal?) better be high enough to account for the risk (30%? 50%? 70%) that you won't make it on time and on budget. That is, you don't want to wait until failure to discover a bad business plan.
At the end of the day, you need to be willing to be patient with and/or walk away from 'business people' that can't wrap their heads around the fact that 20% profit on a venture with a 50% failure rate is a bad business plan. Making employees stressed or overworked to compensate is not a humane solution to the problem. To that end, don't work crazy hours to meet a deadline. That is bad for you, bad for your team, and bad for management since it enables dysfunctional planning.
My current boss likes to ask "is it a day, a week, a month, or a year" and while sometimes I just want to say "yes, it's one of those" I actually think that's a pretty reasonable way to ask the question.
Things that affect story point values for me. Note that some are more about quantifying "risk" than "how long will it take?".
- how "big" is the change?
- how many parts will be changed?
- are the exit criteria vague or open to interpretation?
- is the change easy to test?
- do we have sample inputs and outputs?
- will we have to design for a tricky deployment?
- will we have to design for a tricky rollback?
- will it be hard to peer review?
- if this feature is impossible or more expensive than we thought, will we know early or late?
- is any of the code being changed extra finicky?
- do I need lots of help? code from other teams? approvals? new software installed? new hardware?
- can I iterate on this code? or does it really need to be perfect the first time?
- will we have developer 'concurrency' or 'parallelism' issues? can anyone chip in and help whenever? or is one distracted expert the only one that can do this?
...for me it's an intuitive guess at a number that flattens all that into something we can use to prioritize work and decide that work needs to be broken down more. What exactly is on that list will vary, certainly, but I would put on anything that could cause bugs, make you wait, or make you underestimate a task.
Once it's clear that I'm going to spend some non-trivial amount of time working on the estimate, the answer is often, "No, don't bother."
On the other hand, if person asking does want me to get back to them, I now have the time to do a good estimate—research the problem, break down the parts of the solution, think about the unknowns. Even a "good" estimate is still squishy, but it does tend to be based on explicit assumptions, and often flushes out hidden design or spec issues.
- I think it will take a week, but this part looks a bit complex, so we may have delays.
- Or, I did something similar last month, so I am quite sure that will take 3 days.
A good PM will know how to deal with this information and what to expect.
If I don't trust the PM, I just add massive paddings.
You know in your mind it will take you 3 days
You give me, your PM, an estimate of 2 weeks
I report up the chain that it will take a month
When it's all said and done, you end up getting it done in a month by the skin of your teeth :-)
I had PMs to who I could give optimistic estimations and risks. That way, the PM could plan the different scenarios (like extra features in case we had spare time).
Other PMs, the ones who converted estimations into deadlines, got lots of padding. And the problem of adding padding is that it is time lost, because a developer who adds padding cannot tell that they finished earlier.
I draw them the Cone of Uncertainty (http://www.construx.com/Thought_Leadership/Books/The_Cone_of...).
Alternatively, they could accept new processes that make sure requirements are clearly written and include acceptance criteria.
People are just trying to make decisions about spending money, keeping clients informed, etc.
There are some research and moon shot type exceptions. But, for the most part, estimates are a necessary evil.
can you justify the 2-3x difference between you and a guy who was been coding for 5-7 years ?
When you look at it from a company cost perspective, the ratios get even smaller. The fixed costs (desk, power, healthcare, etc) are pretty much the same no matter the experience level of the engineer.
First 5 years = ridiculous year over year growth, including getting raises without having to change jobs!
Next 5 years = slow growth, generally have to change jobs in order to get a raise.
Next 5 years = flatline, cost of living increases only, IF THAT.
I don't know any other professional field that plateaus this quickly.
If I compare myself against when I just started, I'm easily 10x more valuable now (in some cases 100x). And I would still choose my current self over 5 copies of myself at 5-7 years of experience.
Maybe if you have a simple problem, like a CRUD application or a simple website, it wouldn't matter much. But for harder problems there is no contest.
If you are using someone else's framework for the majority of what your application does, that's not really software development. I know many people won't like hearing that.
Also, knowing why the points in your list are significant and advantageous.
Could you please specify examples of proper software for this purpose (communicating product/feature requirements is meant here I suppose)? Do you mean reqs must go through the issue tracker or official original spec document?
* Writing less code
* Writing maintainable code
* Re-using existing code (requires reading existing code)
* Know how APIs should be written
* Knowing how to properly map associations
* Know when or when not to use another library
* Knowing when to tell a product manager to go back and do some more product managing
* Knowing when to say "No"
* Knowing how to determine what a stake holder actually needs vs. what they think they want
* Understanding that 8 hours today and 8 hours tomorrow is 10x better than 16 hours today.
* Saying "I don't know" when asked "How long will it take" or "When will it be done"
* Fighting against shitty processes
* Fighting FOR processes
* Forcing PMs to use software designed for the purpose of creating software instead of accepting requirements through email/slack/invision/zeplin/google docs/tool of someone else's choice