Hacker News new | ask | show | jobs
by japanoise 2236 days ago
What's the best way for an experienced C programmer who doesn't know C++ to learn D?

What's the story in terms of using existing C (or C++) code with BetterC or D in general?

3 comments

> What's the best way

I'd pick up a comprehensive book like Ali Cehreli's "Programming in D",

https://www.amazon.com/Programming-Tutorial-Reference-Ali-Ce...

and come hang out in the D forums:

https://forum.dlang.org/

> What's the story

You can mix and match C and D code easily in the same program, and to a lesser extent C++ code. This means a larger project can be incrementally converted to D while keeping it running and shipping.

Book "Learning D" by Mike Parker