News for hackers. Stuff that matters.
Re:JavaScript memory leak patterns by BudVVeezer on Monday February 08, 2010 @09:23AM (#1109751)
Failing to call "delete" on a pointer you "new"'ed in C++ is also clearer, and just as incorrect. The ECMAScript spec makes no mention of how memory will be managed for the user. Right or wrong in terms of clarity, it's still a poor practice to assume the browser will behave in a particular way that's not covered by the specification (regardless of how sensible that behavior might be!).

There are no comments on this comment yet.