Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!cica!gatech!udel!mmdf From: ONM64%DMSWWU1A.BITNET@cunyvm.cuny.edu (Kai Henningsen) Newsgroups: comp.os.minix Subject: Re: Future of Minix Message-ID: <20046@louie.udel.EDU> Date: 19 Jul 89 16:57:59 GMT Sender: mmdf@udel.EDU Lines: 20 >From: Andy Tanenbaum >In article <19654@louie.udel.EDU> V61%DHDURZ1.BITNET@cunyvm.cuny.edu (Ronald > Lamprecht) writes: >>The additional code should >>be included in #ifdef DEBUG -- #endif so that it is possible to generate >>a fast run-time library and a debugging library version. > >Argh! I think #ifdefs make code very hard to read and ugly. I am not all >that wild about the idea. > >Andy Tanenbaum (ast@cs.vu.nl) 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 think that wouldn't be too hard to do. Kai onm64 @ dmswwu1a . bitnet