Skip to content
DaedTech

DaedTech

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

    TDD Prevents Copy and Paste Programming

    ByErik Dietrich July 3, 2012June 30, 2015

    Copy, Paste, Fail, Repeat Today, I was reviewing some code, and I saw a “before” that looked like this: private void RefreshClassifierValues(Array NewValues) { List ClassifiersList = Classifiers; int i = 0; foreach (Classifier classifier in ClassifiersList) { classifier.Value = NewValues.GetValue(i++); } } The first thing that stuck out to me was that I really…

    Read More TDD Prevents Copy and Paste ProgrammingContinue

  • Abstractions

    Abstractions are Important 4 – Personal Interactions

    ByErik Dietrich June 28, 2012September 27, 2012

    An Announcement I’ve enlisted the help of freelance editor Amanda Muledy to copy edit this blog. The content will not be altered in terms of substance; rather, she’ll be correcting grammar and spelling mistakes and the like. She’ll even know whether or not the semi-colon I just used was some kind of faux pas. She…

    Read More Abstractions are Important 4 – Personal InteractionsContinue

  • Anti Patterns

    Beware the Bloated Constructor

    ByErik Dietrich June 19, 2012March 5, 2015

    What’s a Bloated Constructor? Yesterday, I was going through the version history of a file in some code base (from earliest to most recent) and I saw the following: public ActiveProduct(Product product, StringVersion driver, Side es) { Side = es; try { if (product == null) throw new Exception(“Can’t create an active product from a…

    Read More Beware the Bloated ConstructorContinue

  • .NET

    C# Tips for Compacting Code

    ByErik Dietrich June 6, 2012August 20, 2018

    This is a little series of things that I’ve picked up over the course of time and use in situations to make my code more compact, and, in my opinion readable. Your mileage may vary on liking any or all of these, but I figured I’d share them. To me, compacting code is very important….

    Read More C# Tips for Compacting CodeContinue

  • Abstractions

    Abstractions are Important 3 – “What?” Before “How?”

    ByErik Dietrich June 1, 2012June 30, 2015

    So, I’m back from my two weeks overseas, refreshed, enriched, and generally wiser, I suppose. We traveled to Spain and Portugal, visiting a ton of historic sites, eating good food and having fun. For my first post back, I’d like to make a third post in my series on abstractions. Methods as Recipes I was…

    Read More Abstractions are Important 3 – “What?” Before “How?”Continue

Page navigation

Previous PagePrevious 1 … 196 197 198 199 200 … 222 Next PageNext

© 2026 DaedTech

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