digitalmars.D.learn - Sample source code for D
- Ishan Thilina (2/2) Mar 27 2011 I am a novice to D. Is there any place that I can get sample source code...
- Kagamin (2/5) Mar 27 2011 There're examples in docs for phobos and other libraries.
- Ishan Thilina (1/1) Mar 27 2011 Yeah, I saw them. Aren't there any other places? :)
- David Nadlinger (5/7) Mar 27 2011 Are you looking for example code explaining specific pieces of
- Ishan Thilina (4/4) Mar 27 2011 @ David:
- spir (18/22) Mar 28 2011 There are tutorial examples of D code at DSource; they were initially D1...
- Ishan Thilina (5/5) Mar 28 2011 @Denis:
- Lutger Blijdestijn (4/8) Mar 27 2011 examples from TDPL: http://erdani.com/tdpl/code/
I am a novice to D. Is there any place that I can get sample source codes for D ? Thanks...!
Mar 27 2011
Ishan Thilina Wrote:I am a novice to D. Is there any place that I can get sample source codes for D ? Thanks...!There're examples in docs for phobos and other libraries.
Mar 27 2011
Yeah, I saw them. Aren't there any other places? :)
Mar 27 2011
On 3/27/11 6:59 PM, Ishan Thilina wrote:I am a novice to D. Is there any place that I can get sample source codes for D ? Thanks...!Are you looking for example code explaining specific pieces of functionality (e.g. Phobos), or just for applications/libraries written in D so you can see how the language is typically used? David
Mar 27 2011
David: I'm looking for example code that explains specific pieces of functionality :) Lutger: Those two links were really helpful :). Thank you :)
Mar 27 2011
On 03/28/2011 05:43 AM, Ishan Thilina wrote:David: I'm looking for example code that explains specific pieces of functionality :) Lutger: Those two links were really helpful :). Thank you :)There are tutorial examples of D code at DSource; they were initially D1, but many of them are compatible or translated to D2; rather good place to start: http://www.dsource.org/projects/tutorials On the "official" D wiki, you'll find some useful material and links (tutorial, example, howto); unfortunatly, some of those materials are rather light: http://prowiki.org/wiki4d/wiki.cgi?DevelopmentWithD http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial http://prowiki.org/wiki4d/wiki.cgi?HowTo http://prowiki.org/wiki4d/wiki.cgi?ExamplesRoadmap Also useful comparisons: http://prowiki.org/wiki4d/wiki.cgi?LanguagesVersusD http://en.wikibooks.org/wiki/D_Transition_Guide Denis -- _________________ vita es estrany spir.wikidot.com
Mar 28 2011
Denis: The tutorials in the dsource were very helpful. I have read most of those articles that are in the prowiki( the ones you have given links to). As you have stated they are more suited for beginners :-/ . Thank you for the help :)
Mar 28 2011
Ishan Thilina wrote:I am a novice to D. Is there any place that I can get sample source codes for D ? Thanks...!examples from TDPL: http://erdani.com/tdpl/code/ You could browse github and dsource. Some blogposts also contain examples, see http://planet.dsource.org/
Mar 27 2011