Back to front pageView on Hacker News (opens in a new tab)Ask HN: What's the largest amount of bad code you have ever seen work?428 pointsby nobody271 (on Hacker News)8 years agoI think I've broken my own record with this one ~2500 lines of incoherent JavaScript/C#. Works though.Comments (578) 119 threadsShow all commentsShowing thread 61 of 119JoeAltmaier8 years ago#A 10,000-line C++ module for transmitting hundreds of different packets to a radio module from the driver, all cut-pasted copies of the same code with different structure name. Bugridden (bad copy-paste-edit bugs).I replaced it with an 11-line template.
Ask HN: What's the largest amount of bad code you have ever seen work?428 pointsby nobody271 (on Hacker News)8 years ago
JoeAltmaier8 years ago#A 10,000-line C++ module for transmitting hundreds of different packets to a radio module from the driver, all cut-pasted copies of the same code with different structure name. Bugridden (bad copy-paste-edit bugs).I replaced it with an 11-line template.
Comments (578) 119 threads
Show all comments
Showing thread 61 of 119
I replaced it with an 11-line template.