Re:Red Flags Signaling That a Rebuild Will Fail
by miceeatnicerice on Thursday July 12, 2018 @03:23AM
(#17512813)
I agree, rewriting with a clear head works wonders - but, to be fair to the op, when you rewrite your own code you'll be very appreciative of all the challenges and possibilities.
It's a very different kettle of fish to rewrite from scratch strange code you've not properly explored and given a chance to - which is the usual situation.
Re:Red Flags Signaling That a Rebuild Will Fail
by mehrdadn on Thursday July 12, 2018 @03:56AM
(#17512923)
Great point, I didn't realize that aspect!
Re:Red Flags Signaling That a Rebuild Will Fail
by mannykannot on Thursday July 12, 2018 @08:42AM
(#17513846)
Knowing what the system should do, in sufficient detail that there is nothing of significance to be discovered with regard to its requirements, while simultaneously not actually knowing enough about how it works to the point where you could plan how to refactor it, is quite a corner case in the field of legacy systems (the latter is quite commonplace, but the former is almost unheard of.)
Re:Red Flags Signaling That a Rebuild Will Fail
by kwhitefoot on Thursday July 12, 2018 @02:46AM
(#17512676)
Rewriting a chunk is much easier than rewriting the whole application.
In fact rewriting a chunk sounds rather like refactoring.
Re:Red Flags Signaling That a Rebuild Will Fail
by zelos on Thursday July 12, 2018 @08:12AM
(#17513718)
Rewriting "a chunk" of code kind of is refactoring, though.
Hmm... there have been a number of times when I've banged my head against the wall trying to figure out how to make my own code do something, until I finally bit the bullet and decided to rewrite the entire chunk from scratch and suddenly it took a fraction of the time I had spent trying to fix it to get it written and working. Not sure how to reconcile this with the advice you gave.