foreach ... else statement
Daniel Keep
daniel.keep.lists at gmail.com
Wed Jan 7 03:31:40 PST 2009
Robert Fraser wrote:
> Daniel Keep Wrote:
>> It's rather ironic, but one thing that struck me going from Visual Basic
>> to Python was that VB had much nicer error handling; instead of having
>> error handling all over the place, it was all localised to the end of
>> the function. This is why I absolutely adore scope statements.
>
> Like "on error resume next"...? ;-P
While not the best practice, I'd take that any day over Java's insane
"OMG THIS MIGHT THROW!!!!111oneoneone" mentality.
Seriously, javac; some times, I just don't care.
-- Daniel
More information about the Digitalmars-d
mailing list