|
|
|
|
|
by tbrownaw
924 days ago
|
|
Encoding the same information in both indentation and braces is redundant, and so is a violation of DRY, and so is bad. (Of course the reality is that braces are how you write scoping information and indentation is how you read it, and CQRS is actually a good thing.) |
|
You can prefer them be coupled for taste reasons but they are fundamentally different. Code minification is a practical example where you can save many characters by omitting whitespace.
This is like tabs vs spaces. The white spaces crowd prefer the trade offs, and the tab crowd don't. But the white space crowd can't argue the perks of tabs - they exist.
disclaimer: Am braces/whitespace camp.