Spell checking errors can be hilarious

Paul Backus snarwin at gmail.com
Mon Oct 12 18:01:50 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.

On the other hand, it is searchable on dpldocs.info:

     http://dpldocs.info/locate?q=to

Though for some reason std.conv.to is the 4th search result, 
after core.time.to, std.conv.castFrom.to, and (of all things) 
arsd.email.IncomingMessage.to.


More information about the Digitalmars-d mailing list