If anyone cares, I've put up a little thing about why it's best not to use D's arrays as stacks. This is drawn from a direct experience a few months ago. Figured if I fell into that trap then others might too, so this could be helpful for some people. There's a no-login-needed comments section already there.
https://www.semitwist.com/articles/article/view/don-t-use-arrays-as-stacks
