digitalmars.D.announce - 99 bottles of compile-time beer
- Don Clugston (7/7) Aug 11 2006 My D metaprogramming version of this code has just been posted. Useless,...
- Lionello Lunesu (3/3) Aug 11 2006 Excellent! This example serves as a pretty good documentation for D
- Walter Bright (2/12) Aug 11 2006 This is totally cool. Thanks!
- Fredrik Olsson (4/6) Aug 11 2006 Respect! And as Lionello said, this is a good example to learn from as
- Walter Bright (2/8) Aug 11 2006 I agree. It makes a nice presentation piece.
My D metaprogramming version of this code has just been posted. Useless, but fun. Enjoy. http://www.99-bottles-of-beer.net/language-d-1212.html Compile with: dmd -c -o- beer.d (Compare with the highly-rated C/C++ preprocessor version, which isn't even correct (it gets the capitalisation of 'no more' wrong in the second last verse)).
Aug 11 2006
Excellent! This example serves as a pretty good documentation for D templates ; ) L.
Aug 11 2006
Don Clugston wrote:My D metaprogramming version of this code has just been posted. Useless, but fun. Enjoy. http://www.99-bottles-of-beer.net/language-d-1212.html Compile with: dmd -c -o- beer.d (Compare with the highly-rated C/C++ preprocessor version, which isn't even correct (it gets the capitalisation of 'no more' wrong in the second last verse)).This is totally cool. Thanks!
Aug 11 2006
Don Clugston skrev:My D metaprogramming version of this code has just been posted. Useless, but fun. Enjoy.Respect! And as Lionello said, this is a good example to learn from as well. So I can not agree on the "useless" part. // Fredrik Olsson
Aug 11 2006
Fredrik Olsson wrote:Don Clugston skrev:I agree. It makes a nice presentation piece.My D metaprogramming version of this code has just been posted. Useless, but fun. Enjoy.Respect! And as Lionello said, this is a good example to learn from as well. So I can not agree on the "useless" part.
Aug 11 2006