Interesting user mistake
skoppe via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 4 09:39:27 PDT 2015
On Thursday, 3 September 2015 at 16:46:30 UTC, Andrei
Alexandrescu wrote:
> http://stackoverflow.com/questions/32369114/leap-years-not-working-in-date-and-time-program-in-dlang
>
> The gist of it is the user wrote =+ instead of +=. I wonder if
> we should disallow during tokenization the sequence "=", "+",
> whitespace. Surely it's not a formatting anyone would aim for,
> but instead a misspelling of +=.
>
>
> Andrei
Seems like a really, really small fish to catch. I wouldn't want
to litter my codebase with those kind of rules.
Besides, isn't stackoverflow about the answers and opinions,
rather than about the questions?
More information about the Digitalmars-d
mailing list