305 reputation
bio website tomjefferys.co.uk
location Cambridge, ID
age 36
visits member for 4 years, 2 months
seen Mar 31 at 7:31

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.