Re: A style question
- From: Richard M Kreuter <kreuter@xxxxxxxxx>
- Date: Wed, 28 Feb 2007 10:40:10 -0500
"Tim Bradshaw" <tfb+google@xxxxxxxx> writes:
Incidentally, I'm deeply disappointed in the quality of answers in
this thread. In the elder days there would have been at least a few
followups showing how to do this in the proper "FORMAT string
indistinguishable from line noise" way. No true CL programmer ever
uses any other construct when the problem can be solved with a
combination of FORMAT, LOOP & GO (FORMAT being always preferable,
obviously). There may yet be those reading cll who know this, though
I suspect they have all gone into the west now.
(dotimes (i 100)
(format t "~[~[FizzBuzz~:;Fizz~]~:;~[Buzz~:;~D~]~]~%" (mod i 3) (mod i 5) i))
Best I could do on one cup of coffee.
--
RmK
.
- Follow-Ups:
- Re: A style question
- From: Tim Bradshaw
- Re: A style question
- References:
- A style question
- From: job-271842874
- Re: A style question
- From: Frank Buss
- Re: A style question
- From: job-271842874
- Re: A style question
- From: Tim Bradshaw
- A style question
- Prev by Date: Re: Effeciency of any predicate
- Next by Date: Re: A style question
- Previous by thread: Re: A style question
- Next by thread: Re: A style question
- Index(es):
Relevant Pages
|