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

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.