July 26, 2004 Re: Poll -- how many people use Interfaces in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arcane Jill | Arcane Jill wrote: > In article <cdv28j$1fbe$1@digitaldaemon.com>, Kris says... > > This isn't much of a "poll", you know, despite the thread title. Most real polls > have an "against" option as well as a "for" option. Otherwise it's like saying > "We interviewed some unspecified number of people, and 531 of them said they > like cheese". And this means...? <snip> That it's a petition. Except that most petitions request a course of action.... Stewart. -- My e-mail is valid but not my primary mailbox, aside from its being the unfortunate victim of intensive mail-bombing at the moment. Please keep replies on the 'group where everyone may benefit. |
July 26, 2004 Re: Poll -- how many people use Interfaces in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | John Reimer wrote:
> On Sun, 25 Jul 2004 11:33:03 +1000, J Anderson wrote:
>
>
>>Kris wrote:
>>
>>
>>>I think this would be really interesting to know! Simply replying will
>>>count you in. If you use them pretty extensively, please add a ###
>>>distinguishing mark (or something).
>>>
>>>Thanks much.
>>>
>>>###
>>>
>>>
>>
>>Everyone has to use an interface to use D. Notepad is an interface. I
>>guess your talking about an advanced interface.
>>
>>I use DIDE.
>
>
> No, I think he's referring to D's "interface" keyword. How many people
> make use of interfaces in D in their normal OO programming practice?
I don't have a normal "D" programming practice--I'm new to the language. However I make use of the interface concept regularly in OO programming. This is affectionately known as the "Bridge Pattern" in GoF speak. In C++ I have to resort to a pure virtual abstract class to represent the interface, but I wouldn't consider a language modern if it did not support it.
So count me as a ######### Yes, I use interfaces all the time.
|
Copyright © 1999-2021 by the D Language Foundation