|
From: Christophe Prud'h. <pru...@MI...> - 2001-09-07 05:30:45
|
* Ian Crawford [Thursday 06 September 2001 09:38 pm ] : > Ooo... I like that! :) =A0Much more sophisticated than I need, but v= ery > nice. It is sophisticated from the Design point of view, but not so from the us= age point of view since you have the default behaviour already plugged in! If you need something slightly different, just implement the policy chang= e you need and=20 that's it! It is Reaaallly neat and lots of fun too. > Is the Policy pattern widely used in CoreLinux++? Unfortunately no. I come from a background where it is heavily used(scientific/intensive c= omputing) In corelinux it is more "conventional". Templates are just showing there=20 full power. It started ~4 years ago with meta-computing, expression templ= ate and other new programming techniques using templates; and now design usin= g C++ has a new face which is very appealing! I'll try, with Frank approval, to incorporate s= ome of these new design ideas in corelinux. Some Design Patterns in CoreLinux could benefit from these new ideas: for= example the Factory Pattern. best regards C. --=20 Christophe Prud'homme=20 OOA and OOD for Linux CoreLinux -- http://corelinux.sourceforge.net Finite Element Method Codes KFem -- http://kfem.sourceforge.net |