When I’m making an application, I always come up against having to track the current depth, so I can attach objects to the new depth. I’m just starting out on the whole oop path, but this seems to make it a no-no to have a variable to keep track of this. I stumbled across this post and I reckon it could be really useful.
Categories