DEV Community

Discussion on: How has your opinion on "clean code" changed throughout your career?

Collapse
 
elmuerte profile image
Michiel Hendriks

Keeping cognitive complexity low is part of clean code. Clean code isn't just about naming and formatting. It's also about sizes (method arguments, bodies, ...), control flow depth, etc.

Although proper naming also keeps cognitive comexity low. So both terms are highly co-related.