Skip to content
DaedTech

DaedTech

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

    TDD For Breaking Problems Apart 3: Finishing Up

    ByErik Dietrich November 12, 2012June 30, 2015

    Last time, we left off with a bowling score calculator that handled basic score calculation with the exception of double strikes and the tenth frame. Here is the code as of right now for both classes: [TestClass] public class BowlingTest { [TestClass] public class Constructor { [TestMethod, Owner(“ebd”), TestCategory(“Proven”), TestCategory(“Unit”)] public void Initializes_Score_To_Zero() { var…

    Read More TDD For Breaking Problems Apart 3: Finishing UpContinue

  • Anti Patterns

    Hilarious Conditional Bloopers!

    ByErik Dietrich November 9, 2012April 30, 2018

    For this Friday, I thought I’d do something a little more lighthearted and, in the tradition of bad television (or Robot Chicken’s satire thereof) post some programming bloopers. These are actual things that I’ve personally seen in source code as opposed to some kind of specific sampling of CodeSOD from the Daily WTF. Doing this…

    Read More Hilarious Conditional Bloopers!Continue

  • Practical Math

    Practical Math for Programmers: Truth Tables and Boolean Basics

    ByErik Dietrich November 7, 2012February 19, 2018

    The “Why This Should Matter to You” Story Let’s say you’re responsible for maintaining a piece of code for the business that figures out recommendations for what to do at night. At the moment, it’s pretty simple: public void DoNightThings() { if (_itsLate) GoToBed(); } Let’s say a project manager comes along and says to…

    Read More Practical Math for Programmers: Truth Tables and Boolean BasicsContinue

  • .NET

    TDD For Breaking Problems Apart 2: Magic Boxes

    ByErik Dietrich November 6, 2012June 30, 2015

    In the last post, I started a TDD exploration of the “bowling score” code kata. Today, I’m going to build a “magic box” in the course of TDD to solve the problem that arose at the end of the post with the scoring class doing too much. Last time, we left off with production code…

    Read More TDD For Breaking Problems Apart 2: Magic BoxesContinue

  • Lessons Learned | Web

    Speeding Up DaedTech

    ByErik Dietrich November 3, 2012

    As I get back into doing web development more and more these days, I’ve started to pay attention to some of the finer points, such as not having a sluggish site that turns off visitors. To that end, my Trello Board for this site had a card/story sitting in the “To Do” bucket for speeding…

    Read More Speeding Up DaedTechContinue

Page navigation

Previous PagePrevious 1 … 186 187 188 189 190 … 222 Next PageNext

© 2026 DaedTech

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