de.velopmind | The Det about Programming

February 16, 2011

Quicknote: Overcoming the Java-verbosity…

Filed under: Java, Language — de.velopmind @ 5:44 am

Interesting, what ideas people have to avoid the clutter of Java-code:

public Type someMethod() {try{

       Some   x = getA().getB().getC();
       if (x.check())
          return x.getR().createT();
          return new Type(x);

}catch(Exception e){ return null; }}


  1. Ugh! Where did THAT come from???

    Comment by Daniel Capo Sobral (@dcsobral) — April 10, 2012 @ 5:25 pm

    • An overly creative youngster … 😀

      Comment by thedetdev — April 10, 2012 @ 6:10 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: