4 ms·
I don't. I recently witnessed someone writing a 10 line function to test for a particular condition in our codebase. I could have done it in less than one-line,
by ZoFreX 12y ago
I don't. I recently witnessed someone writing a 10 line function to test for a particular condition in our codebase. I could have done it in less than one-line, by re-using pre-existing code.
What took them 10 minutes would have taken me 1. My solution is also more in-line with how it's done over the rest of the codebase, if you applied my approach 100 times you would have a consistent and easy to maintain codebase, apply their approach 100 times and it would be inconsistent and harder (more time consuming, more expensive, more risky) to change.
That's where the 10x comes from.
Edit: Just in case they're reading this... I don't think this is because I'm a better engineer or you're a worse one, I blame our lack of documentation and training for this feature!
- sklogic 12y agoThat's an anecdote, not an evidence. Same as my own revelations after trying to work while being unusually well-rested. The next day the same person may do something 10x times faster than you, because of the differences in your past experiences, problem solving methodology, etc. What really matters is amortised performance, and there is no evidence that there exist a significant deviation in such among professionals of comparable experience profiles. Of course, someone who already did something ten times will then do the same or a similar thing in no time, while a completely new problem will be faced with blank eyes by anybody otherwise smart and experienced. It's such an obvious thing that it cannot be a source of a myth on its own.