On 2011-12-25 10:57, Branko Čibej wrote:
On 25.12.2011 10:20, schame...@spinor.com wrote:
On 2011-12-25 07:00, Branko Čibej wrote:
On 25.12.2011 01:01, Mark Mielke wrote:
Hey all. Just reading and I'm surprised that Subversion uses assert()
in production code. I don't think this is typical practice.
You should read my rant about that in this thread. :)
Assertions should never call abort.
You should tell that to the designers of the C runtime library. :)
You mean the GNU runtime library, designed by people who were
primarily used to command line tools where abort is no problem. ;-)
The Windows / Visual Studio C runtime behaves different, better,
you never get an abort in release mode.
And more modern languages like Python or Java behave much much
better. ;-)
Folker
-- Brane