4 ms·
Practically speaking, it’s almost impossible to miss braces. If you’re copying and pasting, you can place your cursor anywhere inside the desired pair of braces
by bobbylarrybobby 5y ago
Practically speaking, it’s almost impossible to miss braces. If you’re copying and pasting, you can place your cursor anywhere inside the desired pair of braces, paste, and the autoformatter will figure it out.
Ideally an autoformatter would also add braces around a one-line if statement as well.
- je42 5y agoit is very possible... I often paste parts of some code into a lambda and missing a brace here and there.