Refactoring Code

Max Samukha maxsamukha at gmail.com
Sun Mar 3 05:48:09 UTC 2024


On Saturday, 2 March 2024 at 20:27:59 UTC, Walter Bright wrote:
> https://github.com/dlang/dmd/pull/16280/files
>
> Sometimes if you stare at code long enough, its underlying 
> simplicity emerges.

I don't see how that is simpler than the original (given the 
lazily initialized dynamic array is replaced with a static one 
and the loop is replaced with an FP equivalent).


More information about the Digitalmars-d mailing list