After using plain C for some 20 years, I am finally getting around to learning C++. Apparently it is generally considered that C++ is not ideal for micro-controller programming. However a number of Arduino libraries are written in C++. And writing a few little test routines, I was pleased to see that compiled binaries from Object-Oriented code were barely larger than their non-OO equivalents. Including Mikal Hart’s <Streaming.h> library actually made some sketches shrink.
So I thought I’d just ask here if anybody has any thoughts, tips, or pointers regarding C++ on the Arduino?
PS. If anybody else is thinking of moving from C to C++, but has been put-off (as I was) by poor explanations in huge multi-volume textbooks, I can recommend Gregory Satir & Doug Brown’s book, published by O’Riley.