by Stephan Schmidt

The James Iry Java Class

James Iry has posted a mind blowing article on his blog “ONE DIV ZERO” again. He is famous in Scala circles and beyond. As a tribute I present the strangest Java class, the James Iry Class (taken from his article):

public class Foo {
  public Foo foo(){ System.exit(1); return null; }
  public Foo bar() { return bar(); }
  public Foo fooBar() { throw new IllegalArgumentException(); }
}

You can leave a Reply here. Of course, you should follow me on twitter here.

You can share this post!
Do you want to tell others about this article? Use the social bookmark icons to submit this artice to the service of your choice. Thanks.

About the author: Stephan Schmidt is head of development at brands4friends. He has more than 15 years of internet technology experience and 10 years experience in agile. He was head of development, consultant and CTO and is a speaker, author and blog writer. He specializes in organizing and optimizing software development helping companies by increasing productivity with lean software development and agile methodologies. Want to know more? All views are only his own.

3 Tweets

Leave a reply.

Comments

Leave a Reply

What people wrote somewhere else:

RT @codemonkeyism The James Iry Java Class http://bit.ly/XhdL0 named in a tribute to http://bit.ly/MYpXH

This comment was originally posted on Twitter

very interesting indeed RT @codemonkeyism The James Iry Java Class http://bit.ly/XhdL0 named in a tribute to http://bit.ly/MYpXH

This comment was originally posted on Twitter

Additional comments powered by BackType