Abstract Base classes [op john gagon]

Discussion in 'Software' started by FrankLewis, May 17, 2006.

  1. FrankLewis

    FrankLewis

    Joined:
    May 11, 2006
    Messages:
    2
    [from john gagon on another forum]

    Can they be done away with in programming? i.e.: never use extends? Composition is supposed to be better...so 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.
     
    FrankLewis, May 17, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. FrankLewis

    John Gagon and his new RAD tool.

    FrankLewis, May 11, 2006, in forum: Software
    Replies:
    1
    Views:
    942
    unholy
    May 11, 2006
  2. Frank B
    Replies:
    2
    Views:
    370
    Frank B
    Mar 2, 2007
  3. Frank B
    Replies:
    0
    Views:
    332
    Frank B
    Mar 2, 2007
  4. Frank B
    Replies:
    0
    Views:
    299
    Frank B
    Mar 2, 2007
  5. Frank B
    Replies:
    0
    Views:
    311
    Frank B
    Mar 2, 2007
Loading...

Share This Page