On Friday, 31 March 2023 at 16:26:36 UTC, ryuukk_ wrote:

I disagree, global mutables are not bad

That the same bad advice as telling people to "embrace OOP and multiple inheritance" and all the Java BS

"just put your variable into a class and make it static, and then have your singleton to access your static variables"

Those of us that have been scarred by reading FORTRAN 77 code would disagree. I use global mutables myself (and even the occasional goto), but if anything, it should be `__GLOBAL_MUTABLE_VARIABLE` to increase the pain of using them.

Reply via email to