Archive | architecture RSS for this section

Inversion of Control (IoC) and Dependency Injection (DI)

What is Inversion of Control (IoC)? Inversion of Control (IoC) is a generic term for changing (i.e. inverting) which of at least two sites controls a specific behavior. In other words, inversion of control is a simple statement about where the responsibility or control over some behavior belongs. ┬áThus, inversion of control falls naturally out […]

Continue Reading

Bad Layered Architecture

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >I recently discovered something I should have realized a long time ago — Layers are less about modularity and more about isolation.I’ve been working on a compiler that I’ll describe as four different layers.  It could be depicted graphically as […]

Continue Reading

Inexperienced Quality

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >When I first started programming I concentrated on one thing, making my program work.  Not only was that the only thing that I concentrated on, but it was the only thing I was taught.  My studies in computer science didn’t […]

Continue Reading

Don’t Architect, Refactor

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >The test-driven development mantra is “red, green, refactor,” but we far too often let other things creep into the process.  One of these things is domain knowledge. Back in February, Gojko Adzik described his experience with Keith Braithwaite‘s “TDD as […]

Continue Reading