Re: Sample source code for D

2011-03-28 Thread Ishan Thilina
@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 :)


Re: Sample source code for D

2011-03-28 Thread spir

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



Re: Sample source code for D

2011-03-27 Thread Ishan Thilina
@ David:

I'm looking for example code that explains specific pieces of functionality :)

@Lutger:

Those two links were really helpful :). Thank you :)


Re: Sample source code for D

2011-03-27 Thread Lutger Blijdestijn
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/ 


Re: Sample source code for D

2011-03-27 Thread David Nadlinger

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


Re: Sample source code for D

2011-03-27 Thread Ishan Thilina
Yeah, I saw them. Aren't there any other places? :)


Re: Sample source code for D

2011-03-27 Thread Kagamin
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.


Sample source code for D

2011-03-27 Thread Ishan Thilina
I am a novice to D. Is there any place that I can get sample source codes for D 
?

Thanks...!