Discussion Thread: DIP 1044--Enum Type Inference--Community Review Round 1
IGotD-
nise at nise.com
Fri Nov 25 13:05:07 UTC 2022
On Friday, 25 November 2022 at 09:53:34 UTC, Dukc wrote:
>
> It's exactly the other way IMO -- whether the feature gets in
> at all, and the technical considerations of it are more
> important. As a programmer, whether the syntax will be
> `$identifier`, `.identifier`, `_.identifier`, `$.identifier`,
> `#identifier`, `#.identifier`, or something else is secondary.
> We can of course debate which of these looks the best, but
> disagreements of taste on questions like that should not block
> the DIP.
>
> You're demanding `.identifier` for a better reason - that is,
> avoiding reserving any new syntax. I don't agree with that
> either, but at least it's a technical argument as opposed to
> mere bikeshedding. So I'm not singling you two with what I
> wrote above, instead I'm aiming at this thread in general.
Syntax aesthetics play a big part in language design. Also
alignment with other popular languages is also an argument.
Yes, if the syntax of a new feature looks like a behind of camel,
then it is better that the feature is postponed.
More information about the Digitalmars-d
mailing list