Pragmatic D Tutorial
qznc
qznc at web.de
Sun Oct 13 06:09:44 PDT 2013
On Sunday, 13 October 2013 at 09:42:48 UTC, Kagamin wrote:
> http://qznc.github.io/d-tut/basics.html
> You make it sound like linking with C++ libraries is an easy
> task. I think, I know how to express difference between C++ and
> D: newer versions of C++ can compile legacy C++ code, while D
> drops C++ compatibility for language redesign, which leads to
> very limited compatibility with C++, but reasonably retains C
> ecosystem. C++ ecosystem is the feature of C++, similar to
> Java, this often outweighs purely linguistic features. This can
> be added to the "Criticism" section.
Yes, that part should be more detailed, but I have to learn that
myself yet. Something like classes, overloading works, but
templates (STL, Boost) does not.
I would not consider this "criticism", since most other languages
(Python,Rust,Go) require C wrappers for C++ libraries.
> http://qznc.github.io/d-tut/debugging.html
> The template syntax wasn't introduces at this point.
Good point.
> Unfortunately, there is no logging module in the standard
> library as of October 2013.
> Such materials tend to bit rot, so it's better to mention the
> date.
Correct. That is not a problem specific to the logging statement,
though. Every page contains the date in the footer.
> Code examples are without background, which is not as nice as
> in the previous version.
I am not sure about this. Personally, I see myself skipping
either the text or the code blocks, when the have different
backgroud colors. The same-background design tries to encourage
reading text and code as one unit.
More information about the Digitalmars-d-announce
mailing list