News for hackers. Stuff that matters.
Re:Software Engineering at Google (2017) by pault on Friday January 04, 2019 @10:31AM (#18824654)
I often see some bit of code, or a dependency in a project that I think is over engineered and too complex and start rewriting; first I get something basic working, then I discover some edge case, then another, and another, and eventually I realize that I have reimplemented the original code. It always makes me feel silly, but at the same time those have been the best learning experiences I've ever had.
Re:Software Engineering at Google (2017) by zozbot123 on Friday January 04, 2019 @10:53AM (#18824862)
The proper response to that is to actively document these edge cases (within the original code) so that they don't get missed as the code is maintained in the future.
Re:Software Engineering at Google (2017) by pault on Friday January 04, 2019 @12:23PM (#18825765)
I do, so I can remember how it works when I see it again in six months. :)