Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
March 27, 2011 Sample source code for D | ||||
---|---|---|---|---|
| ||||
I am a novice to D. Is there any place that I can get sample source codes for D ? Thanks...! |
March 27, 2011 Re: Sample source code for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ishan Thilina | 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.
|
March 27, 2011 Re: Sample source code for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | Yeah, I saw them. Aren't there any other places? :) |
March 27, 2011 Re: Sample source code for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ishan Thilina | 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
|
March 27, 2011 Re: Sample source code for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ishan Thilina | 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/ |
March 28, 2011 Re: Sample source code for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | @ David: I'm looking for example code that explains specific pieces of functionality :) @Lutger: Those two links were really helpful :). Thank you :) |
March 28, 2011 Re: Sample source code for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ishan Thilina | 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 |
March 28, 2011 Re: Sample source code for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to spir | @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 :) |
Copyright © 1999-2021 by the D Language Foundation