Tsoding - How Not to Market Your Language Features

Patrick Schluter Patrick.Schluter at bbox.fr
Mon Mar 31 11:23:39 UTC 2025


On Thursday, 27 March 2025 at 14:21:11 UTC, Ali Çehreli wrote:
> I haven't watched it yet. I'm just attempting to beat you to 
> announce it. :p
>
>   https://www.youtube.com/watch?v=_kRsbu82zqs
>
> Ali

I was wondering. At around 1:20:00 he is experimenting with 
opApply() to make his Array foreach-able. He makes an obvious 
error of shadowing i parameter with the loop index i. I was 
wondering why the compiler didn't catch this shadowing as it does 
in general do recognize shadowed variables.


More information about the Digitalmars-d mailing list