[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1222522 - /subversion/branches/1.7.x/STATUS

From: <schamel23_at_spinor.com>
Date: Tue, 27 Dec 2011 09:57:51 +0100

On 2011-12-25 10:57, Branko Čibej wrote:
> On 25.12.2011 10:20, schamel23_at_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
>
>
Received on 2011-12-27 09:58:34 CET

This is an archived mail posted to the Subversion Dev mailing list.