User loginNavigation |
OOP Parallel class hierarchiesI'm curious if anyone has thought about or know of any languages that are aimed towards solving the parallel class hierarchy problem. If you're unfamiliar it's a term GoF uses a lot -- it refers to when you delegate out part of the responsibilities of a class to another class, so you end up with class hierarchies like: A -> B -> C AWindow -> BWindow -> CWindow ARenderer -> BRenderer -> CRenderer In this trivial example nested classes can help improve the encapsulation but parallel classes still always have a sloppy feeling to me. More generally, does the public/protected/private scheme make parallel class hiearchies inevitable? Does AOP handle this problem somehow? By dataangel at 2006-07-14 04:08 | LtU Forum | previous forum topic | next forum topic | other blogs | 21603 reads
|
Browse archives
Active forum topics |
Recent comments
1 week 1 day ago
41 weeks 3 days ago
41 weeks 3 days ago
41 weeks 3 days ago
1 year 11 weeks ago
1 year 15 weeks ago
1 year 17 weeks ago
1 year 17 weeks ago
1 year 20 weeks ago
1 year 24 weeks ago