News for hackers. Stuff that matters.
Re:I've inherited 200K lines of spaghetti code—what now? by vineet on Saturday August 04, 2012 @02:44PM (#4339260)
Sorry, but this is really bad advice. It is very tempting to redo something from scratch, but in doing so you will end up spending a very large amount of time fixing issues and adding details that were already done in the original code.
Re:I've inherited 200K lines of spaghetti code—what now? by antidoh on Saturday August 04, 2012 @03:20PM (#4339362)
I think the advice was sarcastic.
Re:I've inherited 200K lines of spaghetti code—what now? by vineet on Saturday August 04, 2012 @03:23PM (#4339371)
Oh, In that case...

(I can't tell you how many times I have heard the same advice being given seriously)

Re:I've inherited 200K lines of spaghetti code—what now? by cjdentra on Tuesday August 07, 2012 @09:03AM (#4349851)
Oh yes, I have seen where re-writes are actually done. Developers start to talk about the lack of "scalability" and "maintainability" of the application with the best solution being to rewrite the app. I've also seen Java-to-Microsoft stack ports being bandied about. Generally it is a really bad idea but some of the decision depends on the language(s) preferred by the firm inheriting the app and the size of the app.
Re:I've inherited 200K lines of spaghetti code—what now? by TillE on Saturday August 04, 2012 @05:34PM (#4339742)
It can sometimes be the right approach. It's not a decision to be taken lightly, but it should be on the table.

Especially if your goal is not to duplicate the functionality of the old software precisely, but to provide a significant upgrade. It really depends on the requirements.

Re:I've inherited 200K lines of spaghetti code—what now? by antidoh on Saturday August 04, 2012 @03:25PM (#4339374)
Same.