Re:Cognitive Biases in Software Development
by mesaframe on Tuesday March 31, 2020 @03:14AM
(#22735507)
But, how would the developer know about the lifetime of the code. How would the developer know if code will never be extended or will remain stale for the rest of the life?
[ Parent
| on HN ]
Re:Cognitive Biases in Software Development
by Cthulhu_ on Tuesday March 31, 2020 @03:49AM
(#22735657)
Exactly this. I'm working on a codebase right now that looks like it was written by someone who had barely finished school, figured out how to use a function in JS to produce the HTML for an input element inside of an XHR response callback, then just kept reusing that over the next eight years leading to multiple >10K LOC files. I'm not sure the original author ever intended the application to be around that long.