«« Next » « Previous
«« Next » « Previous

Link Details

Link 48885 thumbnail
User 111696 avatar

By bloid
via talios.com
Published: Oct 22 2007 / 02:59

I remember reading this post the other day nodding to myself in agreement about how using closures and Java's new enhanced for loop makes the code a lot cleaner and easier to write, and then this evening a hit a bug in the TestNG IDEA plugin triggered by using this exact "improvement". The problem with these closure/iterator-less loops in that when you use them you loose state information about the progress of your loop. The problem I hit with the plugin was with adding customer listeners to a test profile
  • 10
  • 1
  • 2090
  • 1111

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.