News for hackers. Stuff that matters.
Re:What features of Java have been dropped in Scala? by z92 on Tuesday August 09, 2011 @09:37AM (#2863929)
Unless you have multiple of these conditional checks when the indention level gets unholy.

Continue in loop is like early return from a function. Some say we should not use it. But other find it really painful to work without 'continue'. I remember moving whole body of a loop into a function call only to get "continue" support in Lua though early return.

Re:What features of Java have been dropped in Scala? by eeperson on Tuesday August 09, 2011 @03:09PM (#2865221)
Why would this cause indention level to get bad? Couldn't you simply chain these conditions in a single if statement?
Re:What features of Java have been dropped in Scala? by z92 on Wednesday August 10, 2011 @12:41AM (#2866810)
Not if you need to pre calculate before some conditional checks, do something if some conditions are meet and you want to save state.

Basically it all comes down to organizing code. Removing 'continue' removes one's ability to organize code in a good way, as some see it.