News for hackers. Stuff that matters.
Re:I'm sorry by jpwright on Thursday January 24, 2013 @12:21AM (#5107579)
If you would like some _actually_ horrible open source code to make fun of, feel free to peruse my early repos which are mostly from my freshman year of college (github/jpwright), including this god-awful function I apparently once wrote: https://github.com/jpwright/debcite/blob/master/search.php#L...
Re:I'm sorry by jiggy2011 on Thursday January 24, 2013 @01:53AM (#5108057)
I have seen production code that makes this look like poetry. And I've written some of it.
Re:I'm sorry by vidarh on Thursday January 24, 2013 @12:53AM (#5107747)
That's.... creative... I particularly love how the variable names keep changing in inconsistent ways, but also sometimes reuse older names.
Re:I'm sorry by anatoly on Thursday January 24, 2013 @06:42AM (#5109032)
Thanks for the chuckle. Towards the end of the function, I think I've developed sympathy for "LINEBREAK" and didn't want it to go away.
Re:I'm sorry by mcclung on Thursday January 24, 2013 @08:54AM (#5109478)
I'm suddenly glad they didn't have github when I was in college. I found some old printouts from my college days recently, and I wrote some terrible, terrible C and assembly for the VAX.

Writing bad stuff is how I learn though, so that's OK.