[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: [geclipse-dev] eu.geclipse.test.framework.simpletest
|
Hi Kasia,
> indeed this plug-in uses SSL connections but still not all of this
> functionality is in SSH console we have. E.g. dynamically creation of
> truststore.
So why not extending existing functionality with the new features
instead of introducing a second development channel?
> And this factory in fact is not only for SSL connections (as a
> factory it handles all kind of connections directly to hosts).
Sounds for me like a really general functionality. So why not
implementing it as a core functionality? Then also others could profit
from this and you would also not introduce further dependencies (I guess
you already have dependencies to the core, right?!).
> You're right - reinventing the wheel is a waiste of resources, but
> sometimes the functionality is so simple that it is faster to write
sth
> from scratch then to understand and find appropriate API, and... to
add
> more dependencies to other plug-ins.
At the end it is all about object oriented programming. A good design is
a crucial point of OO programming. And good design means collecting
generally useful functionality in a central place rather than splitting
it among different portions of code. And this strategy of course would
definitely reduce dependencies.
Cheers, Mathias