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 | 21455 reads
|
Browse archives
Active forum topics |
Recent comments
29 weeks 4 days ago
29 weeks 5 days ago
29 weeks 5 days ago
51 weeks 6 days ago
1 year 4 weeks ago
1 year 5 weeks ago
1 year 5 weeks ago
1 year 8 weeks ago
1 year 12 weeks ago
1 year 12 weeks ago