Re: Component based programming in D

2019-06-19 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Tuesday, 18 June 2019 at 09:17:09 UTC, Bart wrote: I'm new to component based programming. I've read it is an alternative to oop for speed. Component based modelling is part of the OO-modelling toolbox. Also, it isn't new, e.g. database-oriented modelling techniques often use the same

Re: Component based programming in D

2019-06-18 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Jun 18, 2019 at 09:22:28PM +, Aurélien Plazzotta via Digitalmars-d-learn wrote: > On Tuesday, 18 June 2019 at 09:17:09 UTC, Bart wrote: > > > Can someone help me understand this a little better and how I'd go > > about using it in D? Specifically I'm looking at the pros and cons, > >

Re: Component based programming in D

2019-06-18 Thread Aurélien Plazzotta via Digitalmars-d-learn
On Tuesday, 18 June 2019 at 09:17:09 UTC, Bart wrote: Can someone help me understand this a little better and how I'd go about using it in D? Specifically I'm looking at the pros and cons, what are the real similarities and differences to oop, and how one implements them in D(taking in to

Re: Component based programming in D

2019-06-18 Thread Marco de Wild via Digitalmars-d-learn
On Tuesday, 18 June 2019 at 09:17:09 UTC, Bart wrote: I'm new to component based programming. I've read it is an alternative to oop for speed. I don't understand how it is possible to have an alternative to oop and still have oop like behavior(polymorphism) nor how to do this. It seems all the

Re: Component based programming in D

2019-06-18 Thread Yatheendra via Digitalmars-d-learn
I guess design patterns are independent of implementation language. Anyway, I suspect OO is incidental in components. D probably can do it better than C++ at least. Do search for the video of a talk Walter Bright gave on component programming in D.