News for hackers. Stuff that matters.
Re:Attitudes That Lead to Maintainable Code by usrusr on Wednesday March 08, 2017 @12:44PM (#13821907)
Ok, I see it now, but the liberal conflation of "maintainable" and "code that is easy to work on" that is repeated in 2. still hurts my eyes: they don't see maintainable code, they see code that is easy to work on - not because it is maintainable, but because of its position in the code lifecycle. The confusion between these two is exactly your point, sure, but I don't know how to say it better, I think your wording is just too close to subscribing to it yourself. They think they see maintainable code. I know I do, while writing what I will later call a hopeless mess.

(Written by someone who has been doing brownfield projects, often bordering on code archeology, at the same employer for far too many years)

Re:Attitudes That Lead to Maintainable Code by js8 on Wednesday March 08, 2017 @02:54PM (#13823162)
Not really sure what your objection is; what exactly difference you see between "maintainable" and "easy to work on"?

Could it be that a good definition of maintainable is simply "easy to understand by others"? Then, of course, code earlier in the life cycle tends to be easier to understand.

Then there could be a difference between "easy to work with" (by the original author(s)) and "easy to understand by others". But assuming original authors were good programmers, I am not sure how they could cause this difference to occur.