Likelihood of if statement and case

Sergey kornburn at yandex.ru
Fri Sep 13 19:49:31 UTC 2024


On Wednesday, 11 September 2024 at 09:26:16 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> Given the recent 
> [thread](https://forum.dlang.org/post/mailman.2451.1724377685.3719.digitalmars-d@puremagic.com) by Manu, requesting a way to annotate likelihood for branches, I think I have found a way forward that is both in recognization of existing practices both in D and outside.

Just recent proposal for zig, that could be used as another 
example of design:

https://github.com/ziglang/zig/issues/21148




More information about the dip.ideas mailing list