Spell checking errors can be hilarious

Andrew Edwards edwards.ac at gmail.com
Tue Oct 13 05:22:52 UTC 2020


On Monday, 12 October 2020 at 17:33:04 UTC, Q. Schroll wrote:
> On Monday, 12 October 2020 at 17:04:01 UTC, Ali Çehreli wrote:
>> The unfortunate thing in the video was 'to' is not searchable 
>> on the internet
>
> It's not even searchable on the DLang site (e.g. using 
> site:dlang.org on DuckDuckGo); we should avoid these names. 
> Renaming `to` to `convertTo` would solve that using
>
>     import std.conv : to = convertTo;
>
> when using it. It costs a few keystrokes tho.

I don't even understand the issue here. If I am having an issue 
with something written to!string, why on earth would I search for 
to? I would simply search for to!string because that's where my 
problem lies. Which, by the way, provides the solution to my 
problem in the first hit of the returned results.


More information about the Digitalmars-d mailing list