www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to learn the D standard library?

reply "David Piepgrass" <qwertie256 gmail.com> writes:
Now that I'm done reading the D Programming Language book, I'm 
wondering what's the quickest way to become acquainted with 
Phobos?

P.S. is it possible to sign up to receive emails/digests for 
updates on the forums here?
Jul 05 2012
next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Fri, Jul 06, 2012 at 01:55:08AM +0200, David Piepgrass wrote:
 Now that I'm done reading the D Programming Language book, I'm
 wondering what's the quickest way to become acquainted with Phobos?

http://dlang.org/phobos/index.html T -- Food and laptops don't mix.
Jul 05 2012
prev sibling next sibling parent "Mike Parker" <aldacron gmail.com> writes:
On Thursday, 5 July 2012 at 23:55:09 UTC, David Piepgrass wrote:
 Now that I'm done reading the D Programming Language book, I'm 
 wondering what's the quickest way to become acquainted with 
 Phobos?

 P.S. is it possible to sign up to receive emails/digests for 
 updates on the forums here?

This is actually a web interface to a newsgroup server. You have two other options: subscribe to the newsgroups directly via a newsreader or use the mailing list interface. See the page below for details. http://www.digitalmars.com/NewsGroup.html
Jul 05 2012
prev sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Friday, July 06, 2012 01:55:08 David Piepgrass wrote:
 Now that I'm done reading the D Programming Language book, I'm
 wondering what's the quickest way to become acquainted with
 Phobos?

Reading the documentation is pretty much it. http://dlang.org/phobos/index.html I'm not aware of a lot of tutorials or anything like that. The big concept that you'll have to get a proper understanding for is ranges, since Phobos uses them heavily. The best article/tutorial on those right now is probably this: http://ddili.org/ders/d.en/ranges.html There are some articles on the main website which will help you out as well (they're listed on the left): http://dlang.org/d-floating-point.html But there's not really anything designed to introduce you to the standard library or anything like that. The closest to that would be the article on std.datetime ( http://dlang.org/intro-to-datetime.html ), but it's just talking about the one module, not the library as a whole. You can also look at the source code if you want to, but I don't know how helpful that would be (it comes with the compiler, or you can look at the latest here: https://github.com/D-Programming-Language/phobos ).
 P.S. is it possible to sign up to receive emails/digests for
 updates on the forums here?

We have one set of forums/newsgroups/mailing lists. You can pick your interface: web interface: http://forum.dlang.org/ newsgroup and mailing list: http://www.digitalmars.com/NewsGroup.html Personally, I use the mailing list and gets e-mails as messages are posted, but if you want the mailing list updates to be sent as a digest, you can tell it to do that too. - Jonathan M Davis
Jul 06 2012