Security of Java takes a dangerous turn for the worse, experts say (ars technica)
Security of Java takes a dangerous turn for the worse, experts say (ars technica)
Posted Sep 17, 2013 8:40 UTC (Tue) by jezuch (subscriber, #52988)In reply to: Security of Java takes a dangerous turn for the worse, experts say (ars technica) by HelloWorld
Parent article: Security of Java takes a dangerous turn for the worse, experts say (ars technica)
> I'm sorry, you Java fanboys are just pathetic. Here's the C# source code to do the same thing:
Giving an example that is easier does not mean that the original example is not easy.
Now, the *real* problem with the original example is that it's a simple adapter. If the iterator is supposed to do some filtering, then it becomes significantly less easy. That's when I long for yield in Java :) But the upcoming lambda support in Java 8 is supposed to make this much, much easier and effectively eliminate the need for implementing iterators thus making yield insignificant.