Re: tedd's Friday Post ($ per line)
| From: | Nathan Rixham | Date: | Fri, 08 Oct 2010 15:30:44 +0000 |
| Subject: | Re: tedd's Friday Post ($ per line) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308575@lists.php.net to get a copy of this message | ||
tedd wrote:
Now, back to the question at hand -- what price would you sell a line of your code for?Interesting case and question Tedd! Quite sure we all realise the answer is not black and white but various shades of grey, and I wouldn't fancy doing this for real - however, given the assumption that it was technically solid code "average", and assuming it was a functional approach (as in there wasn't chunks of domain schema classes with nothing but getters and setters around / boiler plate junk), then: 35-40 cents per line The approach I've taken to working it out is to try and average out lines of code produced per 8 hour working day, allowing time for research, decision making, minor code reduction and refactoring, then adding a small offset for any time spend on documentation which would show further understanding and confidence in the code + make it more usable. Whitespace and a coding styles which produce more lines but the same amount of code not included. I've also made a small adjustment for the 'several years ago' all though I'm assuming this to be early 2000s and not the 1970s ;) Anywhere near? ps: tedd, please cc me in to the final answer as I won't have time to check the list for a while, and I'm quite interested in this one - kudos to you if you managed to do it and get both parties happy with the result though! Best, Nathan