One of the common tasks a developer is asked to do is to estimate the amount of time a particular feature will take to develop. According to the literature, we apparently suck at this. Developers are constantly being told that they cannot make good estimates.
So here's some help.
This post describes a fairly common technique, wherein the developer breaks the task down into units that can be completed in a small number of days (2, in this example). It does not specify if the developer is determining this alone or as part of a group.
Another example of a method is here. This provides a little more process, for those estimating as a group instead of individual developers.
The Ninja Way for estimations is not much different in the inital steps - you determine the size of the overall task, break it into sub tasks that are about the quantum you have found reasonably accurate to guess (typically 1-2 days), and add up those times. Next, look over each step, and ask yourself what could happen that would delay your completion of that step without removing the need to complete that subtask - someone else using the test machine for that release, an overnight build failure, etc. Guess at how long that would take to recover from, and add the longest of those single things into the estimate for that step. For example, if the test machine is in use, how log would it take for you to schedule a break with the current user? (And those who are so 21-century who ask "Why only one test machine? Why manual tests?" - wake up to the fact that not everything is run on a commodity web-server, and not all development organizations have the budget for even one machine per released version of their product.)
This should get you an estimate that will cover the inevitable delays.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Developing software in the Real World is different from all the theory. I'll attempt to explain my insights into this process, based on 25+ years in the industry in a number of different companies.
Sunday, April 19, 2009
Tuesday, April 14, 2009
Anti-Heroism
In an earlier post, I mentioned the bad effects of a culture of heroism. Making a virtue of excessive overtime rewards reactive instead of proactive programming; it cuts into the testing of the product; it erodes morale.
It's a death spiral in most companies; managament stops recognizing the normal limits of work and starts to expect more and more. This is especially likely in companies that do not accurately track developer hours - if the management does not get a complete count of the time spent on development, they will assume it was done in a 40-hour week, and so they think that the next project can be accelerated by getting the developers to work a few more hours.
So when 5'o'clock rolls around, wrap up what you're working on, prep for the next day, and GO HOME.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
It's a death spiral in most companies; managament stops recognizing the normal limits of work and starts to expect more and more. This is especially likely in companies that do not accurately track developer hours - if the management does not get a complete count of the time spent on development, they will assume it was done in a 40-hour week, and so they think that the next project can be accelerated by getting the developers to work a few more hours.
So when 5'o'clock rolls around, wrap up what you're working on, prep for the next day, and GO HOME.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Sunday, April 05, 2009
A Followup on Automated Testing
A few posts back I described a blog post I had read about a shop that was stating they did 50-60 live deployments per day.
Here's a post about someone who went and looked at the system being deployed.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Here's a post about someone who went and looked at the system being deployed.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Saturday, April 04, 2009
Several Lists to consider
I've accumulated a number of "Top N X" lists over the past few months, so I decided to bundle them all together into a single post for your perusal. I cannot vouch for any specifics in any of the lists, but they are probably useful at the least.
Coding practice sites - these are good for your Code Kata (and Code Kumite)
Seminal Computer Science Papers - you should always know the foundations of your discipline
Some recent programming books - now that you know the foundations, look to some cutting edge work
Good blogs about programming - keeping abreast of the latest news in the profession. (The list is incomplete - it's missing this blog :)
So read and enjoy, and hopefully you will find things you can use.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Coding practice sites - these are good for your Code Kata (and Code Kumite)
Seminal Computer Science Papers - you should always know the foundations of your discipline
Some recent programming books - now that you know the foundations, look to some cutting edge work
Good blogs about programming - keeping abreast of the latest news in the profession. (The list is incomplete - it's missing this blog :)
So read and enjoy, and hopefully you will find things you can use.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Wednesday, March 25, 2009
A Different Type Of Hacking
Although we all typically found adding code to a system, one of the funner parts is removing code. I love it when I can cut whole swaths of code out of a system, combining duplicate code into a common function, deleting unused methods, slashing commented-out junk.
And sometimes you get the chance to rewrite some code, and sometimes you have to
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
And sometimes you get the chance to rewrite some code, and sometimes you have to
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Tuesday, March 24, 2009
Another Take on Technical Debt
Most of us should be familiar with the idea of Technical Debt, but it's not always clear how it fits into the long-term view of a project. Here's Martin Fowler's concept of Design Stamina - showing why Technical Debt tends to accumulate; there is a point in the life of a project where TD is a useful thing to grow, but there is a point where it becomes a liability.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Monday, March 23, 2009
Social Skills In Developers
We all known at least one of them. The prima donna, the ego on legs, the one developer who is famously skilled, but is, to put it bluntly, an asshole.
If you're one of them, you probably need to stop reading now.
If you've got one on your team, you probably need to get them out of your critical path.
Despite our professions acceptance of heroism, the presence of a toxic person can kill a team, or
a project, or a company.
The biggest risk is to your team - you risk alienating all the rest of them, and at some point, you will piss off your resident genius and will have nobody to turn to to save your ass.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
If you're one of them, you probably need to stop reading now.
If you've got one on your team, you probably need to get them out of your critical path.
Despite our professions acceptance of heroism, the presence of a toxic person can kill a team, or
a project, or a company.
The biggest risk is to your team - you risk alienating all the rest of them, and at some point, you will piss off your resident genius and will have nobody to turn to to save your ass.
Technorati Tags --
Software, SoftwareDevelopment, Computers, Programming
HTTP
Subscribe to:
Posts (Atom)