Reputation
305
Next privilege 500 Rep.
Access review queues
Badges
1 4
Newest
 Yearling
Impact
~9k people reached

  • 0 posts edited
  • 0 helpful flags
  • 35 votes cast
Nov
3
comment Why are brackets required for try-catch?
@Dipan fair point. I wonder if it's simply a matter of Java/C# trying to be consistent with older languages such as C by allowing non-braced ifs. Whereas try/catch is a newer construct, therefore the language designers thought it ok to break with tradition.