[OT] C++ tips for a D programmer

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Aug 31 05:32:48 PDT 2011


On 8/31/11 6:56 AM, Jacob Carlborg wrote:
> On 2011-08-31 10:55, 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
>
> I think Scott Meyers' "Effective C++" is a good book.
> For references, I would go with Bjarne Stroustrup's "The C++ Programming
> Language".
>

Accelerated C++.

Andrei


More information about the Digitalmars-d mailing list