Los Techies : Blogs about software and anything tech!
Sign in
|
Join
|
Help
Home
Merchandise
Blogs
Media
Groups
RSS
Twitter
Chris Missal
»
All Tags
»
Design Principles
(
RSS
)
Browse by Tags
Chris Missal
Home
About
Contact
The Lounge
Ads by The Lounge
Friends of Pablo
Pablo's Extended Family
Syndication
RSS for Posts
Atom
RSS for Comments
Recent Posts
Using the Specification Pattern for Querying
Anti-Patterns and Worst Practices – Utils Class
Anti-Patterns and Worst Practices – Heisenbugs
Anti-Patterns and Worst Practices – Monster Objects
Anti-Patterns and Worst Practices – The Arrowhead Anti-Pattern
Tags
Analytics
ASP.NET MVC
Best Practices
Books
Communication
Continuous Improvement
Continuous Integration
Design Patterns
Design Principles
Development
DRY
jQuery
Legacy Code
Members
Moq
NUnit
open source
Project Management
Reading Code
RhinoMocks
SEO
SOLID
Spark
StructureMap
Testing
View more
Additional Links
Twitter
Facebook
ChrisMissal.com
Delicious Links
ohloh Account
Archives
March 2010 (4)
February 2010 (3)
January 2010 (3)
December 2009 (3)
September 2009 (4)
August 2009 (4)
July 2009 (3)
June 2009 (2)
May 2009 (6)
April 2009 (2)
March 2009 (3)
January 2009 (7)
Best Practices
Design Patterns
Development
DRY
Legacy Code
SOLID
Testing
Using the Specification Pattern for Querying
The specification pattern is great for adhering to the Single Responsibility Principle (SRP) . The reason it can be so powerful is that it encapsulates one piece of logic, and nothing more. I've decided to come up with some code that takes advantage of...
Published
Thu, Sep 09 2009 9:58 PM
by
Chris Missal
Filed under:
SOLID
,
Design Principles
,
DRY
,
Design Patterns
Anti-Patterns and Worst Practices – Utils Class
If you ever start typing “Utils” or “Utility” stop and think a bit; if you need some help, ask a fellow developer a question of what this code actually does. This anti-pattern is caused either by lack of domain knowledge, or laziness...
Published
Mon, Jun 06 2009 8:36 AM
by
Chris Missal
Filed under:
Best Practices
,
Design Principles
,
DRY
Anti-Patterns and Worst Practices – Heisenbugs
As I mentioned before, a Heisenbug occurs when trying to check the state of an object. These types of defects are common with concurrency issues are present. Microsoft has put out a library to help diagnose these problems: CHESS ( http://msdn.microsoft...
Published
Sat, May 05 2009 1:00 AM
by
Chris Missal
Filed under:
Legacy Code
,
Testing
,
Best Practices
,
Design Principles
Anti-Patterns and Worst Practices – Monster Objects
Monster objects (or God objects ) know too much, or do too much; monster objects are nasty beasts. The term God object was coined because these objects are said to be “all-knowing”. I’m in favor of the term Monster objects because knowing...
Published
Thu, May 05 2009 7:28 PM
by
Chris Missal
Filed under:
SOLID
,
Testing
,
Design Principles
,
Design Patterns
Anti-Patterns and Worst Practices – The Arrowhead Anti-Pattern
This anti-pattern is named after the shape that most code makes when you have many conditionals, switch statements, or anything that allows the flow to take several paths. You’ll commonly see these nested within each other over and over, thus creating...
Published
Wed, May 05 2009 8:00 AM
by
Chris Missal
Filed under:
Legacy Code
,
Best Practices
,
Design Principles
,
DRY
Anti-Patterns and Worst Practices – You’re Doing it Wrong!
When shown ideal code, I think developers understand why it is favorable. When it is regarding Separation of Concerns (SoC) or Single Responsibility Principle ( SRP ) the consensus is something along the lines of “of course, that makes sense”...
Published
Tue, May 05 2009 8:00 AM
by
Chris Missal
Filed under:
SOLID
,
Legacy Code
,
Testing
,
Best Practices
,
Design Principles
,
DRY
,
Development
Need Help Spotting that Hard to Test Code?
I’m a big fan of Jon Lam's Vibrant Ink Visual Studio theme . Here’s why: If you look at the syntax highlighting in the following code, you’ll see some yellow text. In this theme, or any any other theme that does it well, you’ll...
Published
Tue, Mar 03 2009 2:13 AM
by
Chris Missal
Filed under:
SOLID
,
Testing
,
Best Practices
,
Design Principles
The Aggressive Class vs The Laid Back Class
Oftentimes it's very beneficial to be aggressive. You can be in sales, sports, real estate, marketing, or Hollywood and an agressive attitude will most likely pay off. I think that as developers, having an agressive, "go-get-em" demeanor...
Published
Sat, Jan 01 2009 11:08 AM
by
Chris Missal
Filed under:
Best Practices
,
Design Principles
Copyright Los Techies 2008, 2009. All rights reserved.