Computers do a variety of things, you can play games, see movies, and converse with your loved ones and folks you hate (Twitter). In our case, we write programs that shape the human experience and at the heart of all this is the simple idea of an inp...
Markdown supported · ⌘↵ to post
Anthony Fung
Angular/.NET Web developer. I write insights, thoughts, and stories to help software developers build a solid foundation for their skills
Great explanation of the subject!
Another subtle cause of memory leaks is attaching event handlers either in a loop, or forgetting to detach them before re-adding them.
Similar to your analogy with the new house, there's something called Broken Windows Theory that could be adapted and applied to this situation. The premise is that because there is a memory leak and nobody fixes it, it gives the impression that it's ok to leave memory leaks in the software. This means that other maintainers of the software also leave their memory leaks, which exacerbates the problem with a snowballing effect.