305 reputation
14
bio website tomjefferys.co.uk
location Cambridge, ID
age 35
visits member for 3 years, 1 month
seen Apr 12 at 21:05

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.