This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Foo { | |
| private int _someVariable, _someOtherVariable; | |
| void Update() { | |
| DoSomething(); // No way of knowing what this mutates without reading it :( | |
| // The set variables are only used in the same flow | |
| Log(_someVariable, _someOtherVariable); | |
| } | |
| private void Inner() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import std/tables | |
| import std/hashes | |
| const MaxDepth = 1 | |
| type | |
| Item = enum | |
| None, Magnify, Cigarette, Beer, Handcuff, Handsaw | |
| ShootPerson = enum |