Thanks, Dennis and H.S. for the well-thought-out and
comprehensive replies.
On Fri, Dec 21, 2018 at 09:26:28PM +, Dennis via Digitalmars-d-learn wrote:
> The most fundamental problem that these features tackle is that code
> is costly, so making code-bases smaller and more reusable saves effort
> spent on maintaining large code-bases and rewriting code to suit a
> diff
The most fundamental problem that these features tackle is that
code is costly, so making code-bases smaller and more reusable
saves effort spent on maintaining large code-bases and rewriting
code to suit a different situation.
On Friday, 21 December 2018 at 12:39:48 UTC, Ron Tarrant wrote:
1
Reading through an abstract of what makes the D language tick, I
found terms like mixins and templates, concepts I haven't run
across in the other languages I've learned.
I have a basic understanding of WHAT mixins and templates are,
but what I don't understand is WHY they're part of the langu