News for hackers. Stuff that matters.

fzfzqfz

Re:Ask HN: what is the most stupid line of code you saw? on Wednesday February 20, 2013 @06:23AM (#5249853)
Old php site from year 2000.

Each line of HTML is generated like that :

$html.='<html>';

$html.='<body>';

$html.='The content';

$html.='</body>';

$html.='</html>';

The dev used this in every file, each file contain thousands of lines like that. Worst project i have ever seen, and i must work alone on it. FML.