Date: Fri, 05 Apr 96 07:18:56 PST From: "Brett Glass" <Brett_Glass@ccgate.infoworld.com> To: Bruce Evans <bde@zeta.org.au>, msmith@atrad.adelaide.edu.au Cc: hardware@FreeBSD.ORG, jkh@time.cdrom.com Subject: Re: Some solutions to disk problems.... I think. Message-ID: <9603058287.AA828718488@ccgate.infoworld.com>
next in thread | raw e-mail | index | archive | help
>>I hope you are jesting! Only the most abysmal programmer would have to > >write ten functions to replace ten table entries. > You'll need the 10 entries at least in comments for checking. In that case, there will be more comments than there are in the rest of the driver! This is a good thing. > An interesting problem! :-) Given a telephone book sized list of model > numbers, write an is_in_telephone_book(char const *s) function that is > significantly smaller than the strings for the model numbers. That's very easy to do. The model numbers, unlike the telephone book, are logically arranged. --Brett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9603058287.AA828718488>