Skip to navigation

  • Home
  • Return to Content

Menu

implements Blog

Month: July 2014

July 10, 2014

Use Optional to Shield Yourself from Bad API Design

There are many articles that explain the broad applications of Java 8’s new Optional class (e.g., Tired of Null Pointer Exceptions? Consider Using Java SE 8’s Optional!), but they focus on how authors can use Optional to improve the design of their own APIs. I want to talk about how Optional can be used to protect us from the APIs we didn’t write.

Continue Reading

Java API Design, Java 8, streams 0 Comments

Archives

  • February 2018
  • October 2017
  • August 2017
  • October 2016
  • June 2016
  • November 2015
  • September 2015
  • August 2015
  • April 2015
  • August 2014
  • July 2014
  • May 2014
  • April 2014
  • January 2014
  • October 2013
  • November 2012

Meta

  • Create account
  • Log in
Blog at WordPress.com.
Back to top
  • Subscribe Subscribed
    implements Blog

    Have a WordPress.com account? Log in now.

  • implements Blog
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar