DEV Community

Discussion on: 4 Spaces or 2?

Collapse
 
curtisfenner profile image
Curtis Fenner

I prefer four because its much easier to quickly scan for what braces match and where blocks end and begin.

Deeply nested code is usually to be avoided, so I don't miss the space is takes up.