Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!uunet!mcsun!hp4nl!botter!star.cs.vu.nl!ast From: ast@cs.vu.nl (Andy Tanenbaum) Newsgroups: comp.os.minix Subject: Re: Future of Minix Message-ID: <3077@ast.cs.vu.nl> Date: 26 Aug 89 11:36:43 GMT References: <20046@louie.udel.EDU> Reply-To: ast@cs.vu.nl (Andy Tanenbaum) Organization: VU Informatica, Amsterdam Lines: 9 In article <20046@louie.udel.EDU> ONM64%DMSWWU1A.BITNET@cunyvm.cuny.edu (Kai Henningsen) writes: >How about assert() or some low-level variant thereof (that doesn't use >fprintf)? That would still use #ifdef DEBUG, but make the code more readable. I definitely agree that assert() is the way to go. It is theoretically elegant and efficient as well, since you can turn the checking on and off with a compile time flag. Andy Tanenbaum (ast@cs.vu.nl)