Posts Tagged ‘c’
I dont think C++ developers whove spent 10+ years dealing with memory management have any concept of how much energy/productivity they spend on memory management. I dont think C#/Java developers have any concept of how much energy/productivity they spend on decoupling. Worse, I think many C#/Java developers dont understand that DI, interface-based programming, and fear of statics, is result of language limitations.
Some ideas around dealing with object lifetimes and DI when using C++: Beautiful Dependency Injection in C++
There aren’t many aspects of C++ that C# doesn’t do at least as well at if not better. The C++ const keyword is on such. It not only declares constants but also allows contracts to enforce object immutability.
There are lots of tutorials out there; here’s one:
This afternoon, the ISO C++ committee approved the final technical changes to the C++0x standard. The new International Standard for Programming Language C++ is expected to be published in summer 2011.
If all goes well, and we expect it will, the International Standard will be approved and published in 2011, henceforth to be known as C++ 2011.