DEV Community

Discussion on: Compact or Verbose Codestyle?

Collapse
 
georgeoffley profile image
George Offley

Same. Compacting your code, to me, is an edge case practice. Where every single millisecond counts is when that is really needed. To me anyway. Making sure your code is readable to everyone who reads it is far more important.

Collapse
 
bosepchuk profile image
Blaine Osepchuk

I completely agree.

If you're compacting your code because you want it to run faster, you are deep inside micro-optimization land. 99.9% of the time for normal programming, those kind of optimizations are not required.

And they are definitely not required throughout your code base to 'make it all run a little faster'.