improvement request - enabling by-value-containers
bearophile
bearophileHUGS at lycos.com
Tue Dec 14 15:24:09 PST 2010
Andrei:
> One issue that I noticed about myself and other people coming to D from
> C++ is that we expect to bring with us, along with the many things that
> make C++ great, the baggage of common worries, misgivings, and just rote
> work that we got used to.
Yes, this is a common thing (it happened to me too, with Python and other languages). You need to be careful and think three times before designing things. Knowing several languages helps a bit against that.
I think so far reference semantics (but final methods) for containers is having the upper hand so far in this discussion. Surely other people will write other kind of D containers (like the C++ containers used by Electronic Arts), but I think the std lib needs to be not too much hard to use. (C++ is sometimes too much hard to use for me. In D I was looking for a bit simpler to use language).
Bye,
bearophile
More information about the Digitalmars-d
mailing list