Re:Ask HN: what is the most stupid line of code you saw?
by krapp on Tuesday February 19, 2013 @11:38PM
(#5248992)
Followed by more php.
[ Parent
| on HN ]
Re:Ask HN: what is the most stupid line of code you saw?
by dangrossman on Wednesday February 20, 2013 @01:50AM
(#5249309)
That's not bad code, it's just WordPress lingo you're unfamiliar with. http://codex.wordpress.org/The_Loop
Re:Ask HN: what is the most stupid line of code you saw?
by krapp on Wednesday February 20, 2013 @10:33AM
(#5250934)
I wish I were unfamiliar with it....
I think it is bad practice at least then, if not explicitly bad code, because it's needlessly overcomplicated. Why use the end tag when you're not switching contexts between php and html? After this line there's just another open tag and more code... it's a pointless way of writing php that makes it aggravating to read and edit.