|
I maintain a project that was full of plenty of horrors (the original author was...uh...), although fortunately most of them have been removed over time by either myself or our other developers. My favorite had to be this "pattern" (yes, it was used more than once) for processing rows:code:
I mean, it's incredibly stupid, but at least it will still process the correct rows, right? Well, one time it looked like this: code:
|
# ¿ Dec 21, 2013 04:04 |
|
|
# ¿ Apr 27, 2024 21:54 |
|
Verloc posted:Inherited yet another codebase of dubious quality. Why are users bitching about poo poo being broken constantly, data being corrupted, and not a goddamn thing showing up in the logfiles or system event log? What the shi... Yeah, at one point the project that I mentioned in this post was full of those. I once glanced at an old version of the code and nearly every function had its body surrounded with try { ... } catch (Exception) { }.
|
# ¿ Apr 26, 2014 23:29 |
|
Verloc posted:'sup "Opened the solution and immediately regretted my decision" buddy. Here's one of the best examples from mine: code:
|
# ¿ Apr 29, 2014 06:09 |
|
On a related note, I once saw someone link to this "rebuttal" to that article: http://forums.devshed.com/php-development-5/php-fractal-bad-design-hardly-929746.html Except that they ignored the part where the author of the article himself ("Eevee") shows up and (very politely) shits all over his arguments. Fake edit: I forgot that the guy attempting the rebuttal also gave us such gems as "JavaScript is not a loosely typed language."
|
# ¿ Jul 27, 2014 01:45 |
|
This response from Hugo Mills was really good (emphasis mine): https://lkml.org/lkml/2014/7/31/194 Hugo Mills posted:Date Thu, 31 Jul 2014 11:11:16 +0100
|
# ¿ Aug 1, 2014 04:08 |