Code That Made Me Cry, #CTMMC™

95% of all code makes me cry. The other 5% are white space.

Repetitions (CSS, #45 / 50)

/* main.css : */

#wrapper {width:1000px;}

/* template-example1.css : */

#wrapper .header {width:1000px}
#wrapper .page {width:1000px}

/* template-example2.css : */

.page h1 {display:block; width:1000px;}
.page .nav {width:1000px;}        

We beg, that no one will change the main.css width. Has any of the frontend devs heard about width:100% ?

By Ina who has found this in the CSS-Files of the company for which she is working right now.. And yes, they are using a lot of CSS files.

comments powered by Disqus

Submit your own Code That Made You Cry

Send us your own example of code that made you cry! Please include:

Send the above to All accepted submissions will be licensed as CC BY-SA 3.0. Submit only code of a compatible license.

Note that we may choose not to publish some submissions if we feel they're not appropriate. We hope you understand.

Don't let your SQL code make you cry!

Use jOOQ, instead of JDBC.

jOOQ generates Java code from your database and lets you build typesafe SQL queries through its fluent API.

Don't let your SQL code make you cry! Get back in control of your SQL with jOOQ.