www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Examples, please?

reply Danny <mindstorm8191 yahoo.com> writes:
Alright, so I'm trying to figure out how to use D.  But where are the examples?
 It seems the only significant amount of documentation is by Digital Mars,
describing how to use its cool features.  It may show some source code samples
describing the subjects they're covering, but there aren't any complete
examples, and so I'm still lost on how to use the language.

I'm one to learn by example, and I'm sure many others are.  Would anyone be
willing to create some example programs on using portions of D?  Such as, maybe
a windows program?  If needed, I could provide some webspace to host the
example files.
Jun 10 2007
parent reply Mike Parker <aldacron71 yahoo.com> writes:
Danny wrote:
 Alright, so I'm trying to figure out how to use D.  But where are the
examples?  It seems the only significant amount of documentation is by Digital
Mars, describing how to use its cool features.  It may show some source code
samples describing the subjects they're covering, but there aren't any complete
examples, and so I'm still lost on how to use the language.
 
 I'm one to learn by example, and I'm sure many others are.  Would anyone be
willing to create some example programs on using portions of D?  Such as, maybe
a windows program?  If needed, I could provide some webspace to host the
example files.
Assuming you are using DMD, there are several examples that ship with the compiler (dmd/samples/d). You can also find examples/tutorials at DSource.org[1] and Wiki4D[2]. There are also a number of open source projects at DSource[3] that should provide quite a few examples of different D features. There are also some independent sites out there with a good deal of D code, such as Chris Miller's dprogramming.com[4]. [1] http://www.dsource.org/projects/tutorials/wiki [2] http://www.prowiki.org/wiki4d/wiki.cgi [3] http://www.dsource.org/projects/ [4] http://www.dprogramming.com/
Jun 10 2007
parent reply Jason House <jason.james.house gmail.com> writes:
Mike Parker wrote:
 Assuming you are using DMD, there are several examples that ship with 
 the compiler (dmd/samples/d). You can also find examples/tutorials at 
 DSource.org[1] and Wiki4D[2]. There are also a number of open source 
 projects at DSource[3] that should provide quite a few examples of 
 different D features. There are also some independent sites out there 
 with a good deal of D code, such as Chris Miller's dprogramming.com[4].
 
 [1] http://www.dsource.org/projects/tutorials/wiki
 [2] http://www.prowiki.org/wiki4d/wiki.cgi
 [3] http://www.dsource.org/projects/
 [4] http://www.dprogramming.com/
Assuming Danny's experience isn't unique... except for going to the mailing list to ask... Is there a place that this info should be put so that others can find the examples easily?
Jun 11 2007
parent Max Samukha <samukha voliacable.com.removethis> writes:
On Mon, 11 Jun 2007 20:06:49 -0400, Jason House
<jason.james.house gmail.com> wrote:

Mike Parker wrote:
 Assuming you are using DMD, there are several examples that ship with 
 the compiler (dmd/samples/d). You can also find examples/tutorials at 
 DSource.org[1] and Wiki4D[2]. There are also a number of open source 
 projects at DSource[3] that should provide quite a few examples of 
 different D features. There are also some independent sites out there 
 with a good deal of D code, such as Chris Miller's dprogramming.com[4].
 
 [1] http://www.dsource.org/projects/tutorials/wiki
 [2] http://www.prowiki.org/wiki4d/wiki.cgi
 [3] http://www.dsource.org/projects/
 [4] http://www.dprogramming.com/
Assuming Danny's experience isn't unique... except for going to the mailing list to ask... Is there a place that this info should be put so that others can find the examples easily?
There are lots of D related links on this page http://www.digitalmars.com/d/dlinks.html (Community -> D links)
Jun 11 2007