305 reputation
bio website tomjefferys.co.uk
location Cambridge, ID
age 35
visits member for 3 years, 10 months
seen 6 hours ago

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.