spir:

> * Can I rely on
>       a.length = a.length - 1
> to just remove the last element? If yes, is this considered good practice?

I think it's idiomatic in D, so it's OK.

Currently you may also write that as:
a.length -= 1;
But this is not supported yet:
a.length--;

Bye,
bearophile

Reply via email to