if the condition is long, I don't consider it a "guard" and don't use this style.
-
-
braceless can result in harder targets which results inure time; not meant to be a blanket statement, depends on the code
-
if (condition) return; doesn't suffer from that problem.
-
it can; your pref is pushed downstream and can add costs you don't expect for persons dealing with it
-
I respect the opinion, I used to share it, but I've learned from the costs
-
can you be more specific in terms of this concrete example? how does if (condition) return; affect debugging?
-
what I see: Not possible to break on only return. Only on the cond. could be a problem
-
say more? Having trouble parsing.
-
I'm not sure how to explain further; heat of the moment type problem
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.