Name: Anonymous 2008-11-26 15:53
After using C++ all semester for two classes (OOP with C++, and Data Structures), I'm starting to like C++ more than C. Of course it's no Haskell or SICP, but I'm starting to wonder why I'd ever want to write in C again. I've even started re-writing a small C app I wrote to C++; although the compiled size is larger (about 44 KiB instead of 29 KiB,) the source will likely be about half the size. Best of all, because of the STL containers, I don't need to write any explicit new/delete, so my program is easier to keep leak-free.
tl;dr const references make me feel warm and fuzzy inside.
tl;dr const references make me feel warm and fuzzy inside.