User loginNavigation |
A new idea in OOP. Please comment.I have an idea: what if we can convert a class to an interface with only a requirement that the class just need implements all the member of the interface without point out the interface in its declaration (this is similar to duck-typing but it has different principle, though i didn't know about duck-typing before writing the article). And when using an object with unknown type, I think the dynamic type isn't a perfect solution (because many error-exception could occur at runtime). To read complete article, please go to this link: http://dakurai.blogspot.com/2009/06/new-wild-idea-in-oop.html . Please read and give me some reply. Thanks you. By dakurai at 2009-06-09 08:11 | LtU Forum | previous forum topic | next forum topic | other blogs | 60801 reads
|
Browse archives
Active forum topics |
Recent comments
11 weeks 2 days ago
11 weeks 3 days ago
11 weeks 4 days ago
11 weeks 4 days ago
12 weeks 2 days ago
12 weeks 2 days ago
12 weeks 2 days ago
15 weeks 3 days ago
16 weeks 1 day ago
16 weeks 1 day ago