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.
--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n=
et
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder

--0023544fb8dc7489310499d4213f
Content-Type: text/plain; charset=ISO-8859-1
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.
--0023544fb8dc7489310499d4213f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Well, if you don&#39;t want to get TDPL, you can also learn some other way.=
<br><div><br></div><div>I managed to learn some D by just reading the speci=
fication and trying things out.</div><div>Took a bit more time, but it was =
during the summer and I had hours of free time every single day.</div>
--0023544fb8dc7489310499d4213f--

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

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

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.

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

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.

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

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