|
|
|
|
|
by Timwi
572 days ago
|
|
> Not having the braces makes it so easy to accidentally break in later changes or refactoring. Did you mean “not having a linter”? Because once you have a linter you no longer need the braces because the autoformatting will always fix the indentation. |
|
A linter would enforce having braces and solve the issue. And for codebases without a linter it is a good habit to just go with the braces.