[nem-en] Re: The ReportFatal problem
vc
vc at rsdn.ru
Tue Feb 13 14:51:42 CET 2007
> > Application logic on exception? In my option it is bad practices.
> >
>
> If a situation prevents a normal algorithm flow from being continued, it
> is
> quite reasonable to throw an exception and catch it somewhere at the top
> level.
> It is much more clearly then raising a lot of flags.
Exception should not use for management normal application logic. Is very
bad practices. It's always cause problem. This situation best example of it.
Exception OO-analog of goto statement!
More information about the devel-en
mailing list