Without a spec, most people will blame the developer for everything; even issues the developer raised. Not having a spec means you assume liability for not providing the functionality that someone in the future will wish you would have.
Imagine you are the dev and do the age calculation in whole years. Six months later a customer files a bug because they wish it was calculated in months. Eventually, some project manager type is going to either assume you did it wrong or come at you to justify why it wasn't done that way. There isn't any documentation or sign off from anyone else. It's just how you did the login page.
In a more complex example, it might even be that the new suggestion is better than what anyone on the project thought of.
That's a losing proposition for even the best developer.
Any non trivial work I do, has a spec. If they don't give me one; I write it. I in this examine, my spec would say, 'the login page will prompt users for their age, in whole years, and will determine if the value given is more than 13 years old (using this calculation...)'. I'll also include the the obvious (to us) shortcomings. "Note: the site will not verify that the value provided actually represents the age of the visitor.' or 'Note: given the calculation above, someone traveling near the speed of light on a spaceship may not be handled a expected'
Then I stick it some place appropriate. Before I'm done, that spec gets sent to everyone involved in the project. Most people ignore it. Awesome.
Now, I'm protected.
When some big customer decides not to sign a contract because they evaluated our software and concluded our age calculation was broken, when a clueless MBA having middle manager says, 'why aren't we doing this right?!?! It's a simple calculation, isn't it?' why can't our devs handle this...'
I can say forward on the email from 9 months back and say, 'per the spec, we should be using whole years in this calculation.' and the speed clearly shows you did the right thing, and usually, even had a note highlighting the obviously shortcomings.
Now it isn't, 'why did our dev screw up?'. You did the right thing. Everyone involved implicitly or explicitly accepted the design of the system. They had a chance to object and didn't. You provided exactly what you said.
When I was a consultant, the bar was pretty high for this crap. We would get paid to make a website, then 9 months later someone from the company why wasn't involved wants us to 'fix' a critical issue, for free, because our company sucked and didn't do it right. If true, that reflects very poorly on me. Having a spec means I'm worry free.
After I went back to W2 work, I still do it and it has been incredibly useful; though I prefer when someone else specs out the system.
That was a wonderful response to a flippant comment - I learned something. Including why the contractors I work with are happier than the active duty guys (me) trying to do comparable work.
5
u/PediatricTactic May 16 '20
Wait, you guys get specs?