Penguin

Differences between version 21 and predecessor to the previous major change of C++.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 21 Last edited on Monday, November 8, 2004 3:56:46 pm by JohnMcPherson Revert
Older page: version 19 Last edited on Wednesday, November 19, 2003 6:24:25 pm by AristotlePagaltzis Revert
@@ -41,8 +41,10 @@
  
 !! GarbageCollection (not) 
  
 Since BjarneStroustrup liked [Simula67 | http://www.cetus-links.org/oo_simula.html] but decided GarbageCollection was "too slow", he designed his own perfect language with ObjectOrientation but no GarbageCollection. Quite a few people will readily assume he must have been on crack. Besides having to manage memory yourself, you now have to cope with new syntactic sugar that can conceal which part of your code is responsible for what bits on your heap. Great fun - really! 
+  
+''Whoever wrote this last paragraph needs to smoke less crack themselves.'' -- SamJansen  
  
 !! [Template]s 
  
 Your compiler will segfault regularly instead of producing error reports when you stuff up a [Template] definition. When it does produce an error report, it looks like the (drastically snipped down) one below (in this case it's from the [STL]). 
@@ -62,7 +64,9 @@
  /usr/include/stlport/stl/_hashtable.h:557: no match for call to `(const _STL::hash<CActionHandler::Keycode>) (const 
  CActionHandler::Keycode &)' 
  
 This is perhaps a good reason to stay away from [C++] and program in [INTERCAL] or [PASL]. Or maybe [Java] (see [JavaAndC++]). Or in something like [Ocaml | http://www.ocaml.org], which has parametized types, classes, and modules, covering most if not all the possible uses of [C++] [Template]s in a saner manner. 
+  
+See [C++Notes] for hints on C++ and [STL] constructs if you can't find a better language to program your application in...  
  
 ----- 
 CategoryProgrammingLanguages, CategoryImperativeProgrammingLanguages, CategorySystemsProgrammingLanguages, CategoryObjectOrientedProgrammingLanguages, CategoryMachineOrientedProgrammingLanguages