4 ms·
I see the brace goes on the next line, as it should: if(condition) { expression... } instead of the obfuscated form: if(condition) {
by GnarfGnarf 10y ago
I see the brace goes on the next line, as it should:
if(condition)
{
expression...
}
instead of the obfuscated form:
if(condition) {
expression...
}
- throwaway_exer 10y agoNonsense.
- _RPM 10y agoStatements are inside the brackets as well
- daddykotex 10y agoPersonally, I prefer the second one. It's more concise and still provide the braces safety.
- mwfunk 10y agoWhat's obfuscated about the second form? It's my personal preference, so I'm sure there's some personal bias there, but one doesn't seem more or less obfuscated than the other one. They are both equally readable to me, but the second seems more compact without sacrificing readability. I can think of other reasons why someone might prefer the first to the second, but reduced obfuscation isn't one of them.
- kchauhan 10y agoFirst one is taking more space then it need to read. I normally use second.