sleepingkirby
Well-Known Member
- Aug 8, 2017
- 1,298
- 1,931
- 262
Not immediately obvious, no. Could have just as likely to have been a typo/fat finger or a misinterpretation of PEMDAS (which is going around a lot these days) or an attempt at seeding the RNG in a just-in-time manner or something else I can't think of. Which is why I asked. I normally expect placeholders to either variables or stubs like you did with stat_sigma or a comment, since, as I mentioned before, depending on the random number generator (and it's strength, use case, library, etc.) on the language it can be quite taxing on the system. If this .gauss() is running on a gaussian curve, that's not an easy calculation for a CPU. Even if it isn't taxing, the game calls (excluding loops) approval_check() 829 time and that work is thrown away. If it's not implemented or if it's just being considered and not yet determined, why not just write a comment instead? A:isn't it pretty obvious that it's a placeholder in case I ever want to implement stochastic approval checks?
#TODO/In consideration: implement stochastic approval checksis a lot more eye-catching/easier to remember/more search-able/kinder to yourself later than looking at a 0.0 number.