From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,279217ad1d03b7ad X-Google-Attributes: gidf8c9b,public X-Google-Thread: 1020c6,279217ad1d03b7ad X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,279217ad1d03b7ad X-Google-Attributes: gidfee84,public From: Dan.Pop@mail.cern.ch (Dan Pop) Subject: Re: What do you think of osf/1? Date: 1995/06/22 Message-ID: #1/1 X-Deja-AN: 104876422 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: ues5.cern.ch references: <3rst5b$i3c@news1.WING.NET> <3s7vdi$4af@news.duke.edu> <3s9j2b$i66@news.duke.edu> <3sbh8o$1ug@kani.Helsinki.FI> organization: CERN European Lab for Particle Physics newsgroups: comp.unix.osf.osf1,comp.unix.admin,comp.unix.questions In <3sbh8o$1ug@kani.Helsinki.FI> havia@cc.helsinki.fi (Jyrki Havia) writes: >Dan.Pop@mail.cern.ch (Dan Pop) writes: > >> ld crashing with an "assertion failed..." message shows that DEC ships >> test versions of the vital utilities as production quality software. >> There is no excuse for leaving active assert's in production software. > > Yes, it is MUCH MORE productive and customer friendly to let ld to > produce incorrect code, than to include annoying debugging code. > > Indeed, I see. Nope, you don't. You use proper error handling code in production versions, which will give a meaningful error message to the user and enough debugging information to the developer. assert() is, by definition, for those problems that are fixed before the product is shipped. If the developer cannot be sure that he managed to do this before shipping, he will replace assert() with proper error detection and reporting code. Joe User should _never_ see something looking like "assertion failed...". This is a minimal form of respect towards the paying customer: if you can't give (err, sell) him bug-free software, at least don't give him programs that barf this kind of gibberish when they fail. Dan -- Dan Pop CERN, CN Division Email: Dan.Pop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland