4 ms·
Having come into possession of some of the ugliest PHP code I've ever seen, I would say it's definitely worthwhile to fix it. Thousand line files with what app
by ihumanable 16y ago
Having come into possession of some of the ugliest PHP code I've ever seen, I would say it's definitely worthwhile to fix it.
Thousand line files with what appears to be random indentation are a nightmare to work with. Meaningless variable names make it a game of mental gymnastics to figure out what $total = $poster * $gmd / $p->lasty is supposed to be doing.
This is based off my actual real world usage, taking the hour to reformat a multi-thousand line script which has a habit of exposing interesting edge-case bugs ever couple of weeks has probably saved me far more time than it cost.