Re:Just open sourced my 10k LOC PHP & MySQL invoicing app
by renownedmedia on Monday June 18, 2012 @06:18PM
(#4128896)
Heh, I'm not well versed in C, but it sounds scary.
You can also throw comments in the code where the bad stuff is so that it has more visibility, as well as suggestions for how to better solve the problem. Sometimes people learn best from bad code!
Re:Just open sourced my 10k LOC PHP & MySQL invoicing app
by TazeTSchnitzel on Monday June 18, 2012 @06:24PM
(#4128918)
Good idea.
It should sound scary, it's the worst code I've ever written.
I wrote it 2 years ago with the idea "working first, correct later", but I haven't finished the latter yet...
Or that macros without bounds checking that cause segfaults unless debugging is a good idea...
What was I thinking?