Home » Posts tagged "design patterns"

Humpty Dumpty and Programming

I’ve noticed a pattern in the programming world at large both with programmers and with managers.  We define things how we want them to be for our organization and not how they are.  We are like Humpty Dumpty who says, “When I use a word … it means just what I choose it to mean — neither more nor less.”

There are two places where I see this pattern manifesting.  The Agile movement and Design Patterns.

Humpty Dumpty and Programming
Photo by aturkus on Visualhunt / CC BY

Continue reading “Humpty Dumpty and Programming”

Using NgRX to Cleanly Aggregate Data

For the last 18 months, I’ve been working for an organization that has what some might consider a unique requirement.  Because of where our application’s data is sourced, we need to aggregate data on the client side rather than on the server.  What this means is that for any one screen, we may make multiple calls to the server to grab all the data we need.  Fortunately, because we adopted NgRX early in our adoption of Angular, we could avoid a lot of the headaches associated with client-side aggregation.

Using NgRX to Cleanly Aggregate Data
Photo credit: NASA Goddard Photo and Video via Visualhunt / CC BY

Continue reading “Using NgRX to Cleanly Aggregate Data”

NgRX/Store Coding Sanity Epiphany

Maybe this is all obvious to you, but since I don’t see anyone talking about this when I search for “how to do NgRX” or the various variants, I thought I’d call it out in this weeks post.

If you haven’t been following along, you’ll want to review my previous posts on NgRX.

NgRX/Store Coding Sanity Epiphany
Photo credit: spcbrass via Visual Hunt / CC BY-SA

Continue reading “NgRX/Store Coding Sanity Epiphany”

The Myth of Sloppy Code

  • Tightly coupled code runs faster.
  • Tightly coupled code is easier to write.
  • Test Driven Development increases development time.
  • Test Driven Development negatively impacts code design.
  • Knowing the names of design patterns isn’t important as long as you can use them.
  • All my customer cares about is how soon they can have the product, not how clean the code is.

All of these statements, and others like them, are excuses for not writing code correctly.  And you know what an excuse is, right?

The skin of a reason stuffed with a lie.

The Myth of Sloppy Code
Photo credit: dynamosquito via Visualhunt.com / CC BY-SA


Continue reading “The Myth of Sloppy Code”