« Script Kiddies suck | Main | Approximately 307126 seconds »
February 8, 2006
rant
There are times when looking at bad code makes me want to weep. Today is one of those times.
I honestly wonder what the fuck the original author was thinking when they created this mess.
Does it make any sense to have a database table that contains a value that then has to be modified to get the name of another table that contains relevant data? Who in their right mind would do such a thing? I literally have to get an id from one table to get a value from another table. Then I have to take that value and transform it into the name of a third table, then get the data I want from that third table. This schema is ridiculous:

This code needs to be printed out just so I can burn it.
Posted by ed at February 8, 2006 3:07 PM
Comments
Read your whole blog the other day after finding it looking for some perl shortcut.
That code is horrid.
Does it create mystery tables on the fly? Surely not. That'd be the only reason to do that.
Posted by: 'Bitchen' Ric at February 9, 2006 7:01 AM
No, the tables are static. The original author doesn't seem to understand what child tables are for.
Posted by: Ed at February 9, 2006 10:13 AM