> Exceptions are also enormously more flexible than simple return codes. > There's nothing you can do with return codes that you can't do with > exceptions. However, there are a lot of thing you can do with > exceptions that you can't do with return codes. > We had the same discussion going on a few times already on the list... I think it comes back at least twice a year :-))
I may be wrong but I have the feeling it's also a matter of personal background, apart from PHP (exceptions were finally introduced with version 5), I never used a language without exception handling. Return codes look very unnatural and awkward to me. I guess people with roots in older programming languages may sometimes have a different perspective Massimo ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
