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 | 20728 reads
|
Browse archives
Active forum topics
|
Recent comments
1 week 6 days ago
2 weeks 4 days ago
2 weeks 5 days ago
2 weeks 5 days ago
3 weeks 3 days ago
3 weeks 6 days ago
3 weeks 6 days ago
3 weeks 6 days ago
5 weeks 1 day ago
5 weeks 3 days ago