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 | 20977 reads
|
Browse archives
Active forum topics
|
Recent comments
9 weeks 5 days ago
14 weeks 6 hours ago
15 weeks 4 days ago
15 weeks 4 days ago
18 weeks 2 days ago
22 weeks 6 days ago
22 weeks 6 days ago
23 weeks 2 days ago
23 weeks 2 days ago
26 weeks 1 day ago