en

Joshua Bloch

Quotes

Dmitriy Pavlichenkohas quotedlast year
Exceptions are no exception to the rule
diormuhas quoted2 years ago
In summary, interfaces should be used only to define types. They should not be used merely to export constants.
diormuhas quoted2 years ago
To recap, there are four different kinds of nested classes, and each has its place. If a nested class needs to be visible outside of a single method or is too long to fit comfortably inside a method, use a member class. If each instance of a member class needs a reference to its enclosing instance, make it nonstatic; otherwise, make it static. Assuming the class belongs inside a method, if you need to create instances from only one location and there is a preexisting type that characterizes the class, make it an anonymous class; otherwise, make it a local class.

Impressions

Dmitriy Pavlichenkoshared an impressionlast year
🔮Hidden Depths
👍Worth reading

Great root book for every java developer

  • unavailable
  • diormushared an impression2 months ago
    👍Worth reading

  • unavailable
  • fb2epub
    Drag & drop your files (not more than 5 at once)