hoodlum icon indicating copy to clipboard operation
hoodlum copied to clipboard

How "reset" should work

Open tcr opened this issue 8 years ago • 0 comments

Initial reset values are convenient but visibly separate from where the values are actually used. I prototyped a reset { } block that would assign initial values from variable declaration, but this mostly seems to make it difficult to track where variables get assigned / easy to miss these initialization blocks. The alternative, having an explicit reset block, is easy to do with just if { ... } statements.

tcr avatar Nov 21 '16 19:11 tcr