Red Code, Green Code (nwcpp video)

Knud Soerensen 4tuu4k002 at sneakemail.com
Tue May 8 17:13:27 PDT 2007


On Mon, 07 May 2007 10:58:24 -0400, sergk wrote:

> I've just noticed a Northwest C++ Users Group presentation
> "Red Code, Green Code:  Generalizing const" by Scott Meyers, and found it quite interesting.
> 
> So here it is:
> http://nwcpp.org/Meetings/2007/04.html
> 
Very good idea.

I am wondering if it is possible to extend the idea to ensure layering in
code.

I normally use 5 layers.

Interface layer.
Application layer.
Domain layer.
Technical layer.
Platform layer.

The constrain on the code is that it should only make call in it own layer
or the layer below.

I think it could be very useful.

Knud



More information about the Digitalmars-d mailing list