DEV Community

Discussion on: What is bad code?

Collapse
 
somedood profile image
Basti Ortiz

Well, I won't really define "bad code" as a whole, but I will mention one of its most prominent features: poorly and ambiguously named identifiers (variable, member, and function names).

I guess you can say this is a start. I'd love to see the definition build up from here.

Collapse
 
stereobooster profile image
stereobooster • Edited

I will count this as vote for readability. Bad naming - means harder to read and understand what code does.