3 ms·
Does this make sense if I ever want to change this code? Can anyone else even read it? What is the end goal here and does this accomplish the spirit as well a
by duxup 8y ago
Does this make sense if I ever want to change this code?
Can anyone else even read it?
What is the end goal here and does this accomplish the spirit as well as the technical goal?
What about related features that are likely going to end up related to this somehow?
That and so many more things to think of that can change your direction, but long term really pay off rather than "code does thing, good enough".
I say that having just read a bunch of code that only does one thing, could only do one thing, and now has to be reworked entirely because it can't do much else / be adapted.
- JoeAltmaier 8y agoIf that is the task (make code that can be changed) then work at that. How do you verify it though? My buddy Tom says, code isn't portable/changeable until you port it at least once.
- duxup 8y agoYeah I agree there is a verification problem. I certainly wouldn't try to tie any solid metrics or such to it. My thing is... did they even try? There's a lot you can tell that is not the least bit portable or changeable. If it doesn't meet some requirement in the future, oh well that happens no way to be 100% sure. But at least some effort might leave a path open, even if not optimal.