Thread overview | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 20, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to fred | Nothing definite AFAIK, but I think I'm going to need them for DTL, so maybe we can persuade big W of the need. It'd be good if we could stimulate a good debate on the issue. Thoughts, anyone ... ? "fred" <info@fleet-manage.com> wrote in message news:c625pc$6np$1@digitaldaemon.com... > Is Mixins planned for the version 1.0 release ? > > |
April 20, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to fred Attachments:
| What's a mixin? I presume fred meant to ask "Are mixins planned..." "fred" <info@fleet-manage.com> wrote in message news:c625pc$6np$1@digitaldaemon.com... > Is Mixins planned for the version 1.0 release ? |
April 20, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Warren | Warren wrote: > What's a mixin? > I presume fred meant to ask "*Are *mixins planned..." Who are we, the grammar police? ;) > "fred" <info@fleet-manage.com <mailto:info@fleet-manage.com>> wrote in message news:c625pc$6np$1@digitaldaemon.com... > > Is Mixins planned for the version 1.0 release ? Here's one explanation (although D's templates have changed since it was written, so the syntax might be a little off): http://www.digitalmars.com/drn-bin/wwwnews?D/9093 I get the impression it's something of a replacement for multiple inheritance (since D doesn't have MI). -- Justin http://jcc_7.tripod.com/d/ |
April 20, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese | > > "fred" <info@fleet-manage.com <mailto:info@fleet-manage.com>> wrote in
> > message news:c625pc$6np$1@digitaldaemon.com...
> > > Is Mixins planned for the version 1.0 release ?
>
> Here's one explanation (although D's templates have changed since it was written, so the syntax might be a little off): http://www.digitalmars.com/drn-bin/wwwnews?D/9093
>
> I get the impression it's something of a replacement for multiple inheritance (since D doesn't have MI).
That's my interest in them...
My gut feel (FWIW) is that to attract the wider C++ community, there is a need to provide a viable alternative to MI, which Mixins
seems to represent. If this feature were to be excluded from the base (1.0) release, this would be ammunition for those MI die-hards
to shun what seems to be the first progressive step forward to the C/C++ language for the past decade.
By porting some of the common frameworks and possibly OS's to D and it will no doubt generate a life of its own.
|
April 21, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message news:c643s7$qqa$1@digitaldaemon.com... > Nothing definite AFAIK, but I think I'm going to need them for DTL, so maybe we can persuade big W of the need. What's DTL ? |
April 21, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to fred | fred schrieb:
> What's DTL ?
Da Tamplate Loom - it would be a huge loom spun by thousands of ants running in a wheel to make D templates automatically, for every occasion. Perhaps it could also write magazine articles and books for Mathew, compilers for Walter and so on. You just need to add another wheel. We could also use squirrels and rabits, if we were to make something even bigger.
khmm khmm
|
April 21, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Minkov | LOL :-) Monty Python: "Well; we could build this great big Badger, then Lancelot and I would *leap* out and ..." Fred; it would certainly be easier for you to catch up if there were a "search" tool available for the web interface. However, you might try one of the free Nescape news-readers instead? DTL is intended to be STL for D ... "Ilya Minkov" <minkov@cs.tum.edu> wrote in message news:c64f4u$1drm$1@digitaldaemon.com... > fred schrieb: > > > What's DTL ? > > Da Tamplate Loom - it would be a huge loom spun by thousands of ants running in a wheel to make D templates automatically, for every occasion. Perhaps it could also write magazine articles and books for Mathew, compilers for Walter and so on. You just need to add another wheel. We could also use squirrels and rabits, if we were to make something even bigger. > > khmm khmm |
April 21, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Minkov | LOL! I was going to go into a big explanation about a single code-base for compile-time and runtime polymorphism, selected by template parameterisation, and supporting 3+N enumeration models, but now I don't need to bother. One thing I would disagree with you, however, is that I see the loom powered by hundreds of fat guinea pigs. "Ilya Minkov" <minkov@cs.tum.edu> wrote in message news:c64f4u$1drm$1@digitaldaemon.com... > fred schrieb: > > > What's DTL ? > > Da Tamplate Loom - it would be a huge loom spun by thousands of ants running in a wheel to make D templates automatically, for every occasion. Perhaps it could also write magazine articles and books for Mathew, compilers for Walter and so on. You just need to add another wheel. We could also use squirrels and rabits, if we were to make something even bigger. > > khmm khmm |
April 21, 2004 Re: Mixin ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Minkov | Ilya Minkov wrote:
> fred schrieb:
>
>> What's DTL ?
>
>
> Da Tamplate Loom - it would be a huge loom spun by thousands of ants running in a wheel to make D templates automatically, for every occasion. Perhaps it could also write magazine articles and books for Mathew, compilers for Walter and so on. You just need to add another wheel. We could also use squirrels and rabits, if we were to make something even bigger.
>
> khmm khmm
Ha ha! That was actually kind of funny, eye. :-D
|
Copyright © 1999-2021 by the D Language Foundation