DEV Community

Discussion on: Who has written the worst code? Can anyone top this?

Collapse
 
alaindet profile image
Alain D'Ettorre

I worked for a very short time in a company where there were 800-lines-long SQL queries that took minutes to execute and tables with megabytes-long comma-separated string fields of IDs "simulating" joins that had to be refreshed on every new insertion in the table. Most of the times, "refreshing the table" failed due to timeouts