Code That Made Me Cry, #CTMMC™

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

Random number generator (CSS, #46 / 50)

width :926px
width: 1044px
width: 100%
width: 280px
width: 44px
width: 0
width: 100%
width: 151px
max-width: 102px
width: 280px
width: 240px
width: 65px
width: 38px
width: 414px
max-width: 320px        

Need random numbers? No problem. Grep your CSS files for 'width'. Turns out pretty random.


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.