OT: Leaving Rust gamedev after 3 years

Basile B. b2.temp at gmx.com
Mon Apr 29 10:14:27 UTC 2024


On Monday, 29 April 2024 at 10:12:38 UTC, Basile B. wrote:
> On Monday, 29 April 2024 at 07:57:30 UTC, Sergey wrote:
>> On Monday, 29 April 2024 at 06:55:16 UTC, GrimMaple wrote:
>>> On Monday, 29 April 2024 at 03:51:09 UTC, Bruce Carneal wrote:
>>> NaN was literally never helpful to me, because it removes
>>
>> New DIP should be "print all NaNs in the code"
>
> It's an easy check to add in Dscanner.
>
>     Is the variable of FP type ?
>       NO  : return;
>       YES : Is the variable explicitly initialized ?
>               YES : return;
>               NO  : emitt a warning;

Well you have also the verify void-initialization but that does 
not add much more complexity to the check.


More information about the Digitalmars-d mailing list