Revision: 480
http://assorted.svn.sourceforge.net/assorted/?rev=480&view=rev
Author: yangzhang
Date: 2008-02-23 15:46:11 -0800 (Sat, 23 Feb 2008)
Log Message:
-----------
Added Paths:
-----------
simple-build/trunk/notes
Added: simple-build/trunk/notes
===================================================================
--- simple-build/trunk/notes (rev 0)
+++ simple-build/trunk/notes 2008-02-23 23:46:11 UTC (rev 480)
@@ -0,0 +1,14 @@
+- mixins are helpful (for both the interface and implementation)
+- don't use subclassing
+ - you can only inherit a single class
+ - eg "c++ complete program" should generate multiple "c++ programs" variants
+ - program is too dynamic for that
+ - eg validation requires reflection trickery
+ - eg validation requires
+- but parameterization is repetitive
+- use something like this? (should this be merged into the same layer of abstraction, or separated?)
+ C++ complete {
+ C++ dbg { flags += -g3 }
+ C++ gprof { flags += -pg }
+ C++ opt { flags += -O3 }
+ }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|