View Single Post
Old 11-28-2007, 06:36 PM   #8 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 836
Thanks: 31
sketchMedia is on a distinguished road
Default

thanks dschreck, some good points there, like the idea of forcing a parent - child relationship.
You cant force the developer to implement the interface, whereas if an abstract is used, if for example there is a method in the abstract that the devloper needs to inherit, then he will have to extend the abstract, therefore he will inherit the rules thats why i prefer abstracts to interfaces (not just because of that).
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote