lvalue - opIndexAssign - Tango

bearophile bearophileHUGS at lycos.com
Sun Mar 15 15:57:43 PDT 2009


The Anh Tran:
> No offense, but for a beginner like me, those mixin are similar to C 
> macro hacks years ago. :)

They share part of the same purposes. But D string mixing are scoped, while C macros cut across scopes. This makes mixins quite safer to use.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list