DEV Community

Discussion on: When is code "too clever" / how do you think about readability/cognitive load?

Collapse
 
bgadrian profile image
Adrian B.G.

Sounds better indeed, is not about the person or its capabilities, it's actually about how fast you can load that piece of code in your head.

This problem is usually a sign that another problem on the list is present, usually what is hard to understand quickly is "smelly code", other devs had issue understanding it so the risk of having a bug is greater.

Every second that is added to this process is multiplied by the number of reads, for each team member.