number of methods in an interface.
Posted
by Jeow
on Stack Overflow
See other posts from Stack Overflow
or by Jeow
Published on 2010-03-19T16:06:38Z
Indexed on
2010/03/19
16:21 UTC
Read the original article
Hit count: 132
I know this might seem a controversial question but it really is not meant to be. is there an optimal number of methods in an interface.
For example, I personally hate an interface with 20 methods. It is just difficult to implement. The contract seems to hard to maintain. Similarly if the number of methods is just 1. It makes me wonder if it is really a good abstraction.
Any thoughts ?
© Stack Overflow or respective owner