December 01, 2013
A bit of info about how how Ada language solves the problem of "scope":

http://www.adacore.com/adaanswers/gems/gem-33/

Bye,
bearophile
December 01, 2013
On 1 December 2013 00:08, bearophile <bearophileHUGS@lycos.com> wrote:
> A bit of info about how how Ada language solves the problem of "scope":
>
> http://www.adacore.com/adaanswers/gems/gem-33/
>

I think that second example should be achievable at compile time in D thanks to CTFE.

Regards,
Iain.