From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <3e1162e60606091544p5be17e81k201735720c8c1a1@mail.gmail.com> References: <4ef97ffa3f0bbb8004fb870726536e2c@collyer.net> <50097123-1D9F-400C-BABA-3F9A4B352733@orthanc.ca> <20060608030512.GE13116@augusta.math.psu.edu> <20060609220308.GA2291@submarine> <3e1162e60606091544p5be17e81k201735720c8c1a1@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Latchesar Ionkov Subject: Re: [9fans] quantity vs. quality Date: Fri, 9 Jun 2006 16:51:50 -0600 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 658e20da-ead1-11e9-9d60-3106f5b1d025 Another example is using emalloc in libraries. I agree that it is much simpler to just give up when there is not enough memory (which is also not very likely case), but is that how the code is supposed to be written if you are not doing research? Thanks, Lucho On Jun 9, 2006, at 4:44 PM, David Leimbach wrote: > On 6/9/06, Roman Shaposhnick wrote: >> On Wed, Jun 07, 2006 at 11:05:12PM -0400, Dan Cross wrote: >> > Too bad the example a beginning programmer >> > sees now is the cess pool of open source cruft instead of well- >> written >> > code. >> >> And that would be the second most useful thing about Plan 9 -- its >> source code as a literature for educating oneself how the code is >> supposed to be written. >> >> Thanks, >> Roman. > > Except /sys/src/9/pc/pci.c that says it badly needs to be rewritten. > Maybe a slightly less Kool-Aid drinking way to approach this would be > to say "code that needs help is better marked, and there's less of > that?" > > Then again. I've not personally audited the whole system, and it's > not clear that I have the qualifications to say that Plan 9's source > is better than other systems. > > There's a lot of "belief" here that I think is "fundamentally" > dangerous... as with anything. > > I say this partially tongue-in-cheek. I think sometimes people don't > question a thing because they don't want to seem unpopular to the > group they're speaking to :-). I think that's wrong. > > Then again maybe I'm just paranoid.