157: Effective Java Item# 20 – Prefer interfaces to abstract classes

Your browser does not support the audio element. Download In this episode, Donn talks about Item #20 in the Effective Java book (third series) by Joshua Bloch. He discusses why you should think about using interfaces over abstract classes, how they can add mixin like behavior to retrofit existing classes with new behavior, default methods, … Continue reading 157: Effective Java Item# 20 – Prefer interfaces to abstract classes

112: Effective Java v3 – Item #9 – Prefer try with resources to try finally

In this mini-fragment episode, Donn talks about Item #9 of the Effective Java (Third Edition) book – Prefer try with resources to try finally. Please note, this episode references the third edition of the Effective Java book that recently came out. Previously we were doing the entire series on version 2, but we are now … Continue reading 112: Effective Java v3 – Item #9 – Prefer try with resources to try finally

111: Effective Java v3 – Item #5 – Prefer Dependency Injection to Hardwiring Resources

In this mini-fragment episode, Donn talks about Item #5 of the Effective Java (Third Edition) book – Prefer Dependency Injection to Hardwiring Resources. Please note, this episode references the third edition of the Effective Java book that recently came out. Previously we were doing the entire series on version 2, but we are now upgrading … Continue reading 111: Effective Java v3 – Item #5 – Prefer Dependency Injection to Hardwiring Resources

099: Effective Java – Item #17: Design and Document for Inheritance or Else Prohibit It

In this episode, Donn talks about Item #17 from the Effective Java book: Design and Document for inheritance or else prohibit it. Learn how you should be documenting your code that is built for inheritance when you should not call overridable methods and much more. Direct Download Show Links Fragmented – Effective Java Fragments Contact … Continue reading 099: Effective Java – Item #17: Design and Document for Inheritance or Else Prohibit It

087: Effective Java – Item #16: Favor Composition over Inheritance

In this mini-Fragment episode, Donn talks about Item #16 of the Effective Java series – Favor Composition over Inheritance. You’ll learn why using inheritance is not always a great idea and how you can use composition in place of it to make your code more anti-fragile, resilient and clean. Download Show Notes Effective Java Book … Continue reading 087: Effective Java – Item #16: Favor Composition over Inheritance