The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Creating Patterns instead of Rules

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jonathan Crossland

Posts: 630
Nickname: jonathanc
Registered: Feb, 2004

Jonathan Crossland is a software architect for Lucid Ocean Ltd
Creating Patterns instead of Rules Posted: Mar 25, 2010 5:27 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Jonathan Crossland.
Original Post: Creating Patterns instead of Rules
Feed Title: Jonathan Crossland Weblog
Feed URL: http://www.jonathancrossland.com/syndication.axd
Feed Description: Design, Frameworks, Patterns and Idioms
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Jonathan Crossland
Latest Posts From Jonathan Crossland Weblog

Advertisement

Rules are always looked on as restrictive and it is human nature for teams to try and stay clear from many stifling rules, however software design and code is a different matter. We rely on rules. We rely on consistency and when its not there we are left in a more unstable position.

Code is all about rules, "rules of contract", "rules of convention" and we quickly learn the syntax and semantics to improve ourselves and get things done. But most of the 'rules' sit in lower aspects of coding, not the higher areas (in and above Object-orientation, architectural, deployment etc). We need more rules at the higher levels, but we also dont want really hard inflexible rules, but rules that can be made softer. That is where patterns live.

Although Patterns are not all that different from rules it has a lot of little extra benefits.

Design Patterns can be coalesced to make new patterns. Patterns help consistency and stability, but unlike rules, any pattern that fits the problem can be applied. Where rules give governance, patterns give common solutions.

Design Patterns help stimulate heuristics and help promote reuse of ideas and implementation and we should never shy away from anything in code that can solidify and make it more stable.

So how does this subtle point apply to a team, being Agile or writing good software?

Relating to my concerns about Design being overlooked in some Agile environments, A good way of balancing the weight of being Agile is to be patterned focused. A team focused on good design patterns, will help counter-act some ill effects of being Agile.

So to keep with a more Agile way of speaking, we can turn many of the rules that are missing from developments into patterns that enforce a certain level of certainty, without them being thought of as restrictive rules.

Read: Creating Patterns instead of Rules

Topic: Silverlight 4 PlayReady DRM #MIX10 Previous Topic   Next Topic Topic: Breaking encapsulation with C# 2.0 partial classes (moved posting)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use