|
From: Richard F. <rj...@fi...> - 2001-07-08 05:35:55
|
On Sat, 7 Jul 2001, Eric Lee Green wrote: > Yeah. I made it to page 135 of Stroustrup V3 today. I think part of the > deal is that we programmed in Python for 2 years, and thus know more about > object-oriented programming than the last time you programmed in C++. You > probably treated it a lot like "C" with some extra syntactic sugar last > time, though you're right, namespaces are new, they weren't in Stroustrup > version 2. I'm impressed with some of the STL classes, like hash tables, > growable vectors, real strings (as vs. arrays of chars) that aren't > succeptible to buffer overflows when you concatenate them together, etc. I > smell some cross-breeding with Java here... Stroustrup V2 didn't have this > fancy stuff. Oh, and another favorite -- stringstream classes that provide a way to produce formatted strings in memory without worrying about buffer overflows. Nifty! But yes, it does seem like the STL classes, which previously existed "outside" of C++, have been incorporated into the language definition. -- Richard Fish, Unix/Linux Software Engineer, rj...@fi... |