Puzzled by this behavior
deadalnix
deadalnix at gmail.com
Thu Jun 2 15:15:40 UTC 2022
On Tuesday, 31 May 2022 at 22:48:55 UTC, Don Allen wrote:
> Well, I would argue that that kind of thinking leads to a
> language that is a collection of special cases, rather than a
> language built on a core set of principles consistently applied.
>
While I agree that sometime, D takes the road of many special
cases, if you take a step back, you'll that this really doesn't
help your case, to the contrary. You are arguing for special
casing function scope to allow out of order symbol resolution in
special circumstances.
More information about the Digitalmars-d
mailing list