News for hackers. Stuff that matters.
Re:Use labels to break ifs in JavaScript by stephengillie on Wednesday August 07, 2013 @10:07AM (#6172897)
This method of breaking loops from the inside reminds me of the code obfuscation referenced in the HDD Hacking article [1]. Making code hard to read definitely seems like one use of this technique.

So I suppose the converse is true -- if you want your code to be easily readable, refactoring is a better way of solving the problem than label-loop-terminating.

[1]https://news.ycombinator.com/item?id=6148347

There are no comments on this comment yet.