3 ms·
my first programming job out of school involved working on a simulator with replay scenarios. a subtle bug arose due to what I assume was an optimization in whi
by memling 6y ago
my first programming job out of school involved working on a simulator with replay scenarios. a subtle bug arose due to what I assume was an optimization in which whenever a getter was called the value was incremented. during replay it would skip steps.
it was not well documented. ever since I've avoided mutating getters.