Adding a new design constraint to D
Max Samukha
maxsamukha at gmail.com
Sun Jun 19 09:40:09 UTC 2022
On Sunday, 19 June 2022 at 08:10:28 UTC, Ola Fosheim Grøstad
wrote:
> ```
>
> So that scoping restriction is completely arbitrary.
I agree that it is arbitrary.
>
> I believe Rust allows rebinding the name within the same scope,
> which might be unreasonable, but there is one advantage: you
> get to use a consistent naming scheme which makes code easier
> to read.
Rust in general is a great counterevidence to Walter's belief
that a programming language should care about human interface.
Programmers are only half-human anyway.
More information about the Digitalmars-d
mailing list