[OT] C++ tips for a D programmer

dsimcha dsimcha at yahoo.com
Wed Aug 31 05:31:43 PDT 2011


On 8/31/2011 4:55 AM, Lars T. Kyllingstad wrote:
> I am starting in a new job on Monday, in which the primary programming
> language is C++.  For the past four years I've had the privilege of being
> able to use D both professionally and privately, and consequently my C++
> skills (which were intermediate to begin with) are now a bit rusty.
>
> Since I know there are a lot of extremely talented C++ programmers in the
> D community, I thought I'd ask here for some tips.
>
> Firstly, can you think of any pitfalls to avoid?  In particular, I am
> interested in the ones that stem from subtle differences between the two
> programming languages.  I believe I am already aware of the most obvious
> stuff (such as for example array bounds checking, or lack thereof).
>
> Secondly, can you recommend a good C++ book?  I am looking for one that
> targets an audience with good general programming skills, and which can
> act as a language reference.
>
> Hopefully, my adventures in the world of C++ will give me new
> perspectives on things, allowing me to contribute even better to the
> improvement of D. ;)
>
> -Lars

1.  Use C++11 if your boss will let you.  You'll feel like there's a lot 
less missing from it than D.

2.  Use Boost if your boss will let you.  C++'s standard library is a joke.

3.  Pray.


More information about the Digitalmars-d mailing list