Roman:
Richard is right in that one should create a specialized object rather
than loading up the code base with a bunch of conditionals. I don't have
time to figure out what should be specialized in this case, but from a
software engineering point of view that is the way to go. Maintenance
over the entire software life cycle is the operative principal here and
specialization (and therefore encapsulation of conditional cases is
superior to explicit conditionals that end up popping up everywhere
breaking encapsulation).
John Hall
On Mar 31, 2005, at 10:43 AM, Roman Krylov wrote:
Hi.
But if you only have one patch, you can as well use 1 internal guard,
no? I only can imagine DomainLayout being special here, but would need
to check that. I don't think specializing like above for layout global
size is a good idea from a SW engineering position.
No, pooma sets all guardLayers width to 0 when only 1 patch is used,
even if one forces it to be 1 or higher !