Skip to content
DaedTech

DaedTech

  • Check Out Products I Offer
  • Hire Me
  • View Interviews and Columns
  • Get in Touch
DaedTech
DaedTech
  • Anti Patterns

    The Slippery Scope

    ByErik Dietrich April 18, 2012May 27, 2015

    Roll Up Your Sleeves Have you ever stared into a code mess? I don’t mean some little mess, but rather the kind of mess that, as Nietzsche put it, stares back into you if you stare at it for too long. You can almost feel it making you worse at programming. It’s the kind of…

    Read More The Slippery ScopeContinue

  • Design Patterns

    Decorator

    ByErik Dietrich April 16, 2012May 27, 2015

    Quick Information/Overview Pattern Type Structural Applicable Language/Framework Agnostic OOP Pattern Source Gang of Four Difficulty Easy Up Front Definitions Decorator: An object that is both an inherits from and operates on another object. Component: Abstract target base class (or interface) of the decorator pattern. Target: For the purposes of this post, I use this term interchangeably…

    Read More DecoratorContinue

  • Java | Lessons Learned

    JUnit for C# Developers 8 – Obeying Demeter and Going Beyond the Tests

    ByErik Dietrich April 13, 2012July 1, 2015

    Last time in this series, I pulled an “Empire Strikes Back” and ended on a bit of a down note. This time around, I’d like to explore how I’ve alleviated my Law of Demeter problems, and about how fixing a code smell in my tests pushed me into a better design. Up until now, I’ve…

    Read More JUnit for C# Developers 8 – Obeying Demeter and Going Beyond the TestsContinue

  • Announcements

    Announcing Disqus for DaedTech

    ByErik Dietrich April 10, 2012September 27, 2012

    I just wanted to post a note to say that I’m switching from the default WordPress commenting system to using Disqus. So, if you’ve made comments in the past and don’t see them now, that’s because Disqus is in the process of importing all non-Disqus comments stored on my server. Hopefully comments will re-appear at…

    Read More Announcing Disqus for DaedTechContinue

  • Java

    JUnit for C# Developers 7 – Law of Demeter and Temporal Mocking

    ByErik Dietrich April 10, 2012May 27, 2015

    Last time in this series, I posted about a good reminder of a couple of principles of good object oriented design (respecting the Law of Demeter and avoiding static method invocations as much as possible). Today, I’m going to double back on this consciously a bit to explore some more possibilities in JUnit. Don’t worry…

    Read More JUnit for C# Developers 7 – Law of Demeter and Temporal MockingContinue

Page navigation

Previous PagePrevious 1 … 199 200 201 202 203 … 222 Next PageNext

© 2026 DaedTech

  • Check Out Products I Offer
  • Hire Me
  • View Interviews and Columns
  • Get in Touch