improvement request - enabling by-value-containers

spir denis.spir at gmail.com
Wed Dec 15 03:59:29 PST 2010


On Tue, 14 Dec 2010 18:24:09 -0500
bearophile <bearophileHUGS at lycos.com> wrote:

> 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.

s/bit/lot/ ;-) ?

> 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).

Would these ones be useful? https://bitbucket.org/denispir/denispir-d/src/a5975e94f15c/collections.d 
(quickly written for personal use -- definitions as struct/class can be changed)


Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com



More information about the Digitalmars-d mailing list