DEV Community

Discussion on: What's the Worst Code You've Ever Seen or Written?

Collapse
 
renegadecoder94 profile image
Jeremy Grifski

I agree with all this! I do quite a bit of teaching, and I stress readability, correctness, and testing over metrics like efficiency and whatnot.

Collapse
 
laurieontech profile image
Laurie

Inefficient code is more often than not hard to read! There is a reason people try to get rid of "pyramid code".

Thread Thread
 
renegadecoder94 profile image
Jeremy Grifski

For sure! I was just referencing your mention of big O as a criteria for bad code.

Thread Thread
 
laurieontech profile image
Laurie

Oh absolutely. We're in total agreement!