What do you want to see for a mature DLang?

rumbu rumbu at rumbu.ro
Sat Dec 30 07:58:14 UTC 2017


On Saturday, 30 December 2017 at 07:30:39 UTC, Elronnd wrote:
> On Friday, 29 December 2017 at 22:05:31 UTC, I Love Stuffing 
> wrote:
>> Also, for a mature D, some damn collections. Queues, Stacks, 
>> Deques, etc...
>
> std.container.dlist 
> (https://dlang.org/phobos/std_container_dlist.html)?

The queue or stack usage is not obvious at all. One would expect 
something like stack.push, stack.pop or queue.enque, queue.deque 
and may be a peek(). Instead one will get 33 functions that can 
be used with a doubly-linked list.


More information about the Digitalmars-d mailing list