Daniel Dyer wrote:
> On Thu, 07 Sep 2006 22:11:36 +0100, parkerc <> wrote:
>
>> I think that it comes from C#. Personally, I really don't see a
>> problem with a little Hungarian Notation in regard to interfaces.
>
> OK, but what advantages does it have over not prefixing the interface
> name with an 'I'? I'm assuming that there must be some perceived
> advantage otherwise it would be completely pointless.
>
> Dan.
>
> --Daniel Dyer
> http://www.dandyer.co.uk
Its a hang over from the days when Microsoft introduced COM in C++. and
then languages like Delphi took it up also.
As there is no such thing as an interface in C++, it was deemed 'a good
idea' at the time as it differentiated or at least highlighted that
there was a complete set of Pure Abstract Classes in the API, rather
than the traditional Abstract Base classes.
Aside from C++, where I can just about see how it might help some people
see that they should not put implementation inside the (interface)
classes, for language like Delphi that support Interfaces - its a
complete waste of time.
Andrew