▲ | BrainBacon 5 days ago | |
I can understand where you're coming from, but when programming games you generally don't want a breakpoint to be hit more than once since you are running a loop over multiple frames. So in this case the concept of ensure_once is more common, so the shorter inverse is more convenient. Asserts should be enough to get your attention and not to annoy, so orienting it this way is a deliberate choice. | ||
▲ | nathanwh 5 days ago | parent [-] | |
Ah makes sense, thank you |