new, pattern matching, scoping
Sean Kelly
sean at invisibleduck.org
Tue Mar 4 10:11:33 PST 2008
== Quote from bearophile (bearophileHUGS at lycos.com)'s article
> A nice article that shows why D may be better without the "new" statement (and Python just uses () to
instantiate, but D may need a finer control during struct/object creation):
> http://www.scs.stanford.edu/~dm/home/papers/c++-new.html
Interesting article, but I don't think that it applies to D because D contains no polymorphic value types,
and thus the syntax for new/delete is consistent for all types in D. Still reading the other links.
Sean
More information about the Digitalmars-d
mailing list