Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #7773

Reducing the number of classes

From Victor Porton <porton@narod.ru>
Newsgroups comp.programming
Subject Reducing the number of classes
Date 2017-05-24 20:54 +0300
Organization Aioe.org NNTP Server
Message-ID <og4hef$1q4h$1@gioia.aioe.org> (permalink)

Show all headers | View raw


What do you think on this?

Instead of having a base (abstract) class A and two its derived (concrete) 
classes B and C, I rewrite it as only B and C with B being a base of C. So, 
I decrease the number of classes from 3 to 2 but this maybe somehow 
"illogical" (should B be base of C or vice versa?)

-- 
Victor Porton - http://portonvictor.org

Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Reducing the number of classes Victor Porton <porton@narod.ru> - 2017-05-24 20:54 +0300
  Re: Reducing the number of classes Kaz Kylheku <686-678-9105@kylheku.com> - 2017-05-24 18:47 +0000

csiph-web