You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by IO <ni...@googlemail.com> on 2011/06/21 10:08:41 UTC

idiosyncratic interfaces such as IModel, IVisitor

Hi, in Wicket there are many idiosyncratic interfaces, such as IModel <T>. I
often see that these interfaces are implemented several times in a project.
An idiosyncratic interface should be implemented only once in a project. Can
someone explain that to me?

IO.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613440.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: idiosyncratic interfaces such as IModel, IVisitor

Posted by IO <ni...@googlemail.com>.
Ok thank you. That has answered my question.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613492.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: idiosyncratic interfaces such as IModel, IVisitor

Posted by IO <ni...@googlemail.com>.
I have expressed myself wrong. In the interface-based programming, general
interfaces are classified into family interfaces and idiosyncratic
interfaces. I looked up again and noticed that the word idiosyncratic is
used only in Germany. Can anyone else tell me what the I stands for the
interfaces?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613488.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: idiosyncratic interfaces such as IModel, IVisitor

Posted by Martin Grigorov <mg...@apache.org>.
What is idiosyncratic interface ?

P.S. Sorry, I don't want to google it...

On Tue, Jun 21, 2011 at 11:08 AM, IO <ni...@googlemail.com> wrote:
> Hi, in Wicket there are many idiosyncratic interfaces, such as IModel <T>. I
> often see that these interfaces are implemented several times in a project.
> An idiosyncratic interface should be implemented only once in a project. Can
> someone explain that to me?
>
> IO.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613440.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: idiosyncratic interfaces such as IModel, IVisitor

Posted by Martijn Dashorst <ma...@gmail.com>.
Not sure what you're getting at. IModel is sort of hungarian notation:
Interface for Model. Not idiosyncratic. Read the definition of
Idiosyncratic Interfaces:

"If a general interface is implemented by only one class (whose
implementation may be modified over time, but with no two alternatives
occurring in the same project), we call this interface idiosyncratic."

The corollary is when multiple implementations exist of one interface,
it is a Family Interface or general interface according to [1].

Just because one article suggests that all things named IFoo are
idiosyncratic, doesn't mean it is the truth...

Martijn

[1] http://www.jot.fm/issues/issue_2005_07/article1/

On Tue, Jun 21, 2011 at 10:08 AM, IO <ni...@googlemail.com> wrote:
> Hi, in Wicket there are many idiosyncratic interfaces, such as IModel <T>. I
> often see that these interfaces are implemented several times in a project.
> An idiosyncratic interface should be implemented only once in a project. Can
> someone explain that to me?
>
> IO.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613440.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: idiosyncratic interfaces such as IModel, IVisitor

Posted by Arjun Dhar <dh...@yahoo.com>.
An interface is a piece of code one writes when they are too lazy to think of
the implementation.

An abstract Class is one where you have no idea how the hell you will
complete the rest!

An idiosyncratic interface is 1 to 1 relation with your class because the
programmer did not have the guts to stand by his class and use it as a type
directly (Interface as a Type)

:)

-----
Software documentation is like sex: when it is good, it is very, very good; and when it is bad, it is still better than nothing!
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613551.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: idiosyncratic interfaces such as IModel, IVisitor

Posted by Mike Mander <wi...@gmx.de>.
Am 21.06.2011 10:08, schrieb IO:
> Hi, in Wicket there are many idiosyncratic interfaces, such as IModel<T>. I
> often see that these interfaces are implemented several times in a project.
> An idiosyncratic interface should be implemented only once in a project. Can
> someone explain that to me?
>
> IO.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/idiosyncratic-interfaces-such-as-IModel-IVisitor-tp3613440p3613440.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
What are interfaces for? Hiding implementation details and define a 
contract?
What is idiosyncratic? Or do you mean generic?

Cheers
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org