Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > Abstract Base classes [op john gagon]

Thread Tools

Abstract Base classes [op john gagon]

FrankLewis FrankLewis is offline
Junior Member
Join Date: May 2006
Posts: 4
[from john gagon on another forum]

Can they be done away with in programming? i.e.: never use extends? Composition is supposed to be why not use it all the time? I mean, forget "is a" relationship things for a moment since that can also be covered by interfaces and composition as well. When is it absolutely necessary to use it? I can see "non-instantiable" but there are ways of course to do that using other patterns (like Factory).

Also, lately, I've been looking at Fractal Class Composition for encapsulation of namespaces. I think this is an excellent/long missing standard needed for java development.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD Verdict reviews: JOHN WAYNE-JOHN FORD FILM COLLECTION and more! DVD Verdict DVD Video 0 06-06-2006 08:23 AM
Abstract Base classes - [op john gagon] John Gagon Java 1 05-17-2006 06:40 AM
format first name from -john- to -John- ? RN ASP .Net 3 02-27-2005 05:34 AM
Abstract Classes w/o abstract methods DaKoadMunky Java 4 04-20-2004 04:53 AM
REVIEW: "The Devil's Code", John Sandford (John Camp) Rob Slade, doting grandpa of Ryan and Trevor Computer Security 0 07-03-2003 06:43 PM