commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [math] RealLinearOperator and AbstractRealMatrix
Date Thu, 14 Jul 2011 07:44:33 GMT
Because when the interface changes, an abstract class can add default
implementations (even if the implementations only throw unimplemented
operation exceptions).

That means that code that has used the abstract class won't have to break.
 If you change an interface, the implementing code inevitably breaks.

2011/7/13 S├ębastien Brisard <sebastien.brisard@m4x.org>

> We would then have had an empty abstract class. So why not an interface?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message