Learning D

2011-01-14 Thread Adrian Mercieca
Hi folks,

What's the best way to learn D please?

Thanks.


Re: Learning D

2011-01-14 Thread Jens Mueller
Get "The D Programming Language"
http://www.amazon.com/D-Programming-Language-Andrei-Alexandrescu/dp/0321635361/ref=sr_1_1?ie=UTF8&s=books&qid=1295033396&sr=8-1

Jens

Adrian Mercieca wrote:
> Hi folks,
> 
> What's the best way to learn D please?
> 
> Thanks.


Re: Learning D

2011-01-14 Thread Jesse Phillips
Adrian Mercieca Wrote:

> Hi folks,
> 
> What's the best way to learn D please?
> 
> Thanks.

The best way is to read the book others linked to. Read some more, and ask 
questions.

And here is a good place to start too: http://www.prowiki.org/wiki4d/wiki.cgi


Re: Learning D

2011-01-14 Thread Russel Winder
On Fri, 2011-01-14 at 14:39 -0500, Jesse Phillips wrote:
> Adrian Mercieca Wrote:
> 
> > Hi folks,
> > 
> > What's the best way to learn D please?
> > 
> > Thanks.
> 
> The best way is to read the book others linked to. Read some more, and ask 
> questions.
> 
> And here is a good place to start too: http://www.prowiki.org/wiki4d/wiki.cgi

Read books (TDPL being the only one really just now) and write programs.
Read more, write more programs.  If you have a question, before asking
it, write a program to investigate the problem.  Create hypotheses,
explore, experiment, write more programs.  Read other programs,
especially if they purport to solve the same problem you have written
programs for.  Then the crucial bit:  you have to decide which programs
are better programs in the language in which they are written.  Whilst
this is equivalent to being an NP-Complete problem, it is crucial to
real learning.  Knowing when a solution is better than another solution,
using certain metrics, in a given context, is at the heart of
understanding -- which is the goal of learning.

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


signature.asc
Description: This is a digitally signed message part


Re: Learning D

2011-01-14 Thread Jimmy Cao
Well, if you don't want to get TDPL, you can also learn some other way.

I managed to learn some D by just reading the specification and trying
things out.
Took a bit more time, but it was during the summer and I had hours of free
time every single day.


Re: Learning D

2011-01-17 Thread Justin Johansson

On 15/01/11 05:48, Adrian Mercieca wrote:

Hi folks,

What's the best way to learn D please?

Thanks.


Before you are lead misastray, which D would you like to learn?  D1 or D2?

Rumors have it that there might be a D3 as well.

D1, D2 and D3 are not necessarily backward compatible. Some people might 
even suggest that D1 and D2 are different languages, albeit from the 
same Algol tree of programming languages fruit.


I would advise you that if you are to take any responses from this 
newsgroup as gospel, to also ask in which context (D1 or D2) that they 
are responding.  Knowing if you wanting after D1 or D2 will help you 
make a better informed decision as to whether or not invest your time 
and energy in "D" per se.


Cheers
Justin Johansson


Re: Learning D

2011-01-17 Thread Jonathan M Davis
On Monday 17 January 2011 05:15:04 Justin Johansson wrote:
> On 15/01/11 05:48, Adrian Mercieca wrote:
> > Hi folks,
> > 
> > What's the best way to learn D please?
> > 
> > Thanks.
> 
> Before you are lead misastray, which D would you like to learn?  D1 or D2?
> 
> Rumors have it that there might be a D3 as well.
> 
> D1, D2 and D3 are not necessarily backward compatible. Some people might
> even suggest that D1 and D2 are different languages, albeit from the
> same Algol tree of programming languages fruit.
> 
> I would advise you that if you are to take any responses from this
> newsgroup as gospel, to also ask in which context (D1 or D2) that they
> are responding.  Knowing if you wanting after D1 or D2 will help you
> make a better informed decision as to whether or not invest your time
> and energy in "D" per se.

True enough. However, most everything on this list refers to D2, since it is 
the 
current version of the language. D1 is in maintenance mode. D2 is intended to 
replace it (though you can obviously continue to use it if you want to). If 
there is a D3, then D2 will be put in maintenance mode, and eventually D3 will 
replace it. It's the same with other languages which have multiple versions. D2 
happens to break more backwards compability than is typical when creating the 
new version of a language, but other languages have done the same (e.g. 
versions 
2 and 3 of Python). Very few people on this list are likely to tell someone to 
learn D1 (though some may), because D2 is the current version of the language 
and the one that most everyone here is discussing and using (though there are a 
number of folks on this list who still use D1 - particularly for older 
projects).

- Jonathan M Davis


Re: Learning D

2011-01-17 Thread Andrej Mitrovic
Maybe a better question to ask is what is Adrian Mercieca's
background? Which languages does he already know, how much experience
does he have? Without knowing those, it's hard to give a proper answer
to OP's question.

TDPL is arguably not a "tutorial" for newbies, some experience with C
based languages is required to understand the book.


Re: Learning D

2011-01-17 Thread Jesse Phillips
Andrej Mitrovic Wrote:

> Maybe a better question to ask is what is Adrian Mercieca's
> background? Which languages does he already know, how much experience
> does he have? Without knowing those, it's hard to give a proper answer
> to OP's question.
> 
> TDPL is arguably not a "tutorial" for newbies, some experience with C
> based languages is required to understand the book.

Sadly there isn't any good beginners guide. While D would be a great language 
for such teaching, the material for it does not exist. And those that do make 
such an attempt are incomplete and are based on D v1.

http://www.prowiki.org/wiki4d/wiki.cgi?FirstLanguage


Re: Learning D

2011-01-20 Thread Adrian Mercieca
Hi guys,

Ok - thanks for your answers.

So, I will get TDPL book - all reviewers on amazon are raving about it.

As for the Phobos class library (coz that is the D2 standard lib no?), how 
can I get to grips with that? Does the book cover that? Or does the book 
just cover the core language?
Is there some online material for Phobos?

Thanks.


Re: Learning D

2011-01-20 Thread bearophile
Adrian Mercieca:

> As for the Phobos class library (coz that is the D2 standard lib no?), how 
> can I get to grips with that? Does the book cover that? Or does the book 
> just cover the core language?
> Is there some online material for Phobos?

Phobos is a work in progress, TDPL doesn't cover it. You need to read the 
online docs and practice :-) Currently Phobos2 is not huge, so it doesn't take 
too much time to study it. Maybe Andrei is writing a book about Phobos2 too.

Bye,
bearophile


Re: Learning D

2011-01-20 Thread Jonathan M Davis
On Thursday, January 20, 2011 11:33:38 Adrian Mercieca wrote:
> Hi guys,
> 
> Ok - thanks for your answers.
> 
> So, I will get TDPL book - all reviewers on amazon are raving about it.
> 
> As for the Phobos class library (coz that is the D2 standard lib no?), how
> can I get to grips with that? Does the book cover that? Or does the book
> just cover the core language?
> Is there some online material for Phobos?

TDPL mentions a little about Phobos but specifically avoids it on the whole, 
because Phobos is still very much a work in progress, and the intent of TDPL 
was 
to teach the language, not the library. The online docs for Phobos can be found 
here: http://www.digitalmars.com/d/2.0/phobos/phobos.html

They're really the only way to learn Phobos at this point other than reading 
the 
source code, which is included in the zip file for the compiler. Overall, the 
documentation is fairly good though. The fact that the code can be documented 
in 
place (similar to javadoc or doxygen) makes it much easier to have good 
documentation.

- Jonathan M Davis


Learning D Programming

2018-02-22 Thread Lianamelissa via Digitalmars-d
Hi this is liana working 
on[url=https://mindmajix.com/big-data-on-aws-training] big data 
on aws[/url],my question is D-programming is useful for the big 
data developers.


Re: Learning D Programming

2018-02-22 Thread bauss via Digitalmars-d

On Thursday, 22 February 2018 at 10:31:05 UTC, Lianamelissa wrote:
Hi this is liana working 
on[url=https://mindmajix.com/big-data-on-aws-training] big data 
on aws[/url],my question is D-programming is useful for the big 
data developers.


Yes.


Re: Learning D Programming

2018-02-22 Thread psychoticRabbit via Digitalmars-d

On Thursday, 22 February 2018 at 10:31:05 UTC, Lianamelissa wrote:
Hi this is liana working on... big data on aws ..,my question 
is D-programming is useful for the big data developers.


Nice try.


Re: Learning D Programming

2018-02-22 Thread Ali via Digitalmars-d

On Thursday, 22 February 2018 at 10:31:05 UTC, Lianamelissa wrote:
Hi this is liana working 
on[url=https://mindmajix.com/big-data-on-aws-training] big data 
on aws[/url],my question is D-programming is useful for the big 
data developers.


this account, seem to be going around programming forums asking 
the same question


https://discuss.ocaml.org/t/ocaml-is-helpful-for-me/1603

not sure what this mean, but .. not a good sign


Re: Learning D Programming

2018-02-22 Thread Seb via Digitalmars-d

On Thursday, 22 February 2018 at 14:29:23 UTC, Ali wrote:
On Thursday, 22 February 2018 at 10:31:05 UTC, Lianamelissa 
wrote:
Hi this is liana working 
on[url=https://mindmajix.com/big-data-on-aws-training] big 
data on aws[/url],my question is D-programming is useful for 
the big data developers.


this account, seem to be going around programming forums asking 
the same question


https://discuss.ocaml.org/t/ocaml-is-helpful-for-me/1603

not sure what this mean, but .. not a good sign


It's simply spam and an attempt at SEO optimization.
That's why such posts should be kept unanswered, s.t. a moderator 
can delete them - now they have reached their goal by having 
their link on a forum with a high Google rating in the 
programming world (well at least compared to their site).


Re: Learning D Programming

2018-02-22 Thread psychoticRabbit via Digitalmars-d

On Thursday, 22 February 2018 at 14:29:23 UTC, Ali wrote:


this account, seem to be going around programming forums asking 
the same question


https://discuss.ocaml.org/t/ocaml-is-helpful-for-me/1603

not sure what this mean, but .. not a good sign


A company that 'supposedly' provides training on AWS Big Data, 
and then posts an obscure question as to whether D is useful for 
big data developers?


That should raises the first alarm.

Then, they include in their post, a link to some unrecognised 
site.


That should raises the second alarm. (good chance people will go 
to that link too - and who knows what it will try to do)


Then, just to double check, you go to their facebook site, and 
there you will see the typical 'suspcious pictures' of people 
that are 'recommending' them. Those types of pictures and 
comments are always dodgy. So that should have raised the third 
alarm (as if it was needed at this point).


At least 'D' and 'big data' and now correlated in search engines 
;-)