digitalmars.D - wikibooks.org
- Andrei Alexandrescu (5/5) Aug 14 2010 The page at
- Nick Sabalausky (9/13) Aug 14 2010 I don't know who originally created it, but I went ahead and removed the...
- Bernard Helyer (5/7) Aug 14 2010 Interestingly enough, the example on the Digital Mars D2 website does
- Walter Bright (2/12) Aug 14 2010 No it doesn't :-)
- Bernard Helyer (3/4) Aug 14 2010 I must be losing my mind!
- Walter Bright (2/9) Aug 14 2010 Either that or I cheated!
- Andrei Alexandrescu (3/13) Aug 15 2010 Probably he quickly changed the website.
- Bernard Helyer (3/18) Aug 15 2010 http://images2.wikia.nocookie.net/__cb20090819180841/uncyclopedia/
- Andrej Mitrovic (3/10) Aug 14 2010 Many examples from the docs have writef's where there should be write's....
The page at http://en.wikibooks.org/wiki/D_(The_Programming_Language)/d2/Lesson_1/Phobos has a few inaccuracies (for example claims that writefln and writeln are the same). Is the person maintaining it on this newsgroup? Andrei
Aug 14 2010
"Andrei Alexandrescu" <SeeWebsiteForEmail erdani.org> wrote in message news:i467if$1rn2$2 digitalmars.com...The page at http://en.wikibooks.org/wiki/D_(The_Programming_Language)/d2/Lesson_1/Phobos has a few inaccuracies (for example claims that writefln and writeln are the same). Is the person maintaining it on this newsgroup?I don't know who originally created it, but I went ahead and removed the writefln==writeln claim and also added some info on nested comments. It should probably still be changed to use write and writeln for the hello world examples, and then introduce writef and writefln as formatted versions. Sending a non-format-string as the first arg to writef or writefln should *not* be encouraged. I might do that and some other things later if I have time.
Aug 14 2010
On Sat, 14 Aug 2010 14:29:44 -0400, Nick Sabalausky wrote:Sending a non-format-string as the first arg to writef or writefln should *not* be encouraged.Interestingly enough, the example on the Digital Mars D2 website does exactly that. http://www.digitalmars.com/d/2.0/ "writefln("Hello World, Reloaded");"
Aug 14 2010
Bernard Helyer wrote:On Sat, 14 Aug 2010 14:29:44 -0400, Nick Sabalausky wrote:No it doesn't :-)Sending a non-format-string as the first arg to writef or writefln should *not* be encouraged.Interestingly enough, the example on the Digital Mars D2 website does exactly that. http://www.digitalmars.com/d/2.0/ "writefln("Hello World, Reloaded");"
Aug 14 2010
On Sat, 14 Aug 2010 17:46:27 -0700, Walter Bright wrote:No it doesn't :-)I must be losing my mind! :P
Aug 14 2010
Bernard Helyer wrote:On Sat, 14 Aug 2010 17:46:27 -0700, Walter Bright wrote:Either that or I cheated!No it doesn't :-)I must be losing my mind! :P
Aug 14 2010
Walter Bright wrote:Bernard Helyer wrote:Probably he quickly changed the website. AndreiOn Sat, 14 Aug 2010 17:46:27 -0700, Walter Bright wrote:Either that or I cheated!No it doesn't :-)I must be losing my mind! :P
Aug 15 2010
On Sun, 15 Aug 2010 07:43:54 -0500, Andrei Alexandrescu wrote:Walter Bright wrote:http://images2.wikia.nocookie.net/__cb20090819180841/uncyclopedia/ images/1/13/Thats_the_joke.jpgBernard Helyer wrote:Probably he quickly changed the website. AndreiOn Sat, 14 Aug 2010 17:46:27 -0700, Walter Bright wrote:Either that or I cheated!No it doesn't :-)I must be losing my mind! :P
Aug 15 2010
Many examples from the docs have writef's where there should be write's. I'm guessing most of them were copy-pasted for D2 from the D1 pages. :p On Sun, Aug 15, 2010 at 2:40 AM, Bernard Helyer <b.helyer gmail.com> wrote:On Sat, 14 Aug 2010 14:29:44 -0400, Nick Sabalausky wrote:Sending a non-format-string as the first arg to writef or writefln should *not* be encouraged.Interestingly enough, the example on the Digital Mars D2 website does exactly that. http://www.digitalmars.com/d/2.0/ "writefln("Hello World, Reloaded");"
Aug 14 2010