Re: Is this too much OOP?




Daniel T. wrote:

Do you have an example, or is this typical case/switch bashing?
Case/switch statements better handle change than most polymorphism,
such as mutually-exclusive options becoming non-mutually-exclusive,
or inserting multiple orthogonal factors into the decisions. Using
poly requires more code shuffling. Procedural better divorces
classifications from code structure, and thus changes less if your
classification/taxonomies change. Hard-wiring noun classifications
into code is a no-no. Use the database for that.

Funny, you are always going on about how in your domain, OO doesn't
work. Here you are bashing my practices while having no clue what domain
I work in. [....]

Doesn't it apply both ways? Nobody knows everything nor every domain.

Perhaps I should have put a domain scope disclaimer, but the same would
apply to ANYBODY who has not worked in every domain, no just me.

-T-

.