clockworkweeble
clockworkweeble on Hacker News
Given the other constraints of the system, the main place this code is likely to be used is in a script dedicated to assembling a "cartridge" file, and if the output overflows the target space (likely map or gfx ram) then it's just going to bail out with an error anyway, it's unlikely to care about the stomped-over RAM, given that it can't affect Lua variables or code.
It has generally been my experience that if control enters a destructor while other threads are concurrently accessing the object, you are in a world of pain. For one thing, this makes it near impossible to safely subclass the object. (Because the subclass destructor will run first, rendering its invariants invalid before the base class has done whatever it needs to do to unlink the object from the outside world.) Anecdotally, I've also found code like this to be deadlock-prone, but I couldn't say for sure if the two are causally linked.
Alternatively, she cannot know whether they only asked because she's female. She has to give them the benefit of the doubt, but it leaves her wondering, because it's something someone with sexist attitudes would be more likely to say. If they had chosen a more neutral topic, or presented the material in a way where it was clear that male and female candidates were treated identically, she wouldn't have been placed in that position. Her point is about how it comes across, not about how it was intended. It's more, "here's how you can avoid accidentally making candidates unsure whether you are sexist" and not "this was a sexist thing that happened".