A few questions

Namespace rswhite4 at googlemail.com
Sat Jul 28 01:28:06 PDT 2012


> Doing stuff like that makes your code completely unportable. 
> It's _bad_
> practice. Don't go and try to redesign the language if you want 
> to be playing
> nice with other people. If you can do something completely 
> within the
> language, then that's different (other people may still hate 
> what you're up to,
> but at least they can compile it), but don't use a preprocessor 
> unless you
> really don't care about anyone else ever using your code but 
> you, and even
> then, I'd argue against it, because if you get into the habit 
> of doing that,
> you're screwed when you actually have to interact with other D 
> programmers.
>
> - Jonathan M Davis

I can give them the "clone_*.d" files, which contains valid D 
code. No problem.


More information about the Digitalmars-d-learn mailing list