This post is the 6th in a series that started with the 10 practices that every developer needs to start right now

image The first time that someone taught me about Software Design Patterns it went something like this:

  • Them: “… and so that is the pattern.”
  • Me: “That’s it”
  • Them: “Well, yeah.”
  • Me: “But that’s how I’ve always done that.”
  • Them: “Well, then you’ve always been following that pattern”

I find that is how a lot of people react when they first learn about patterns. “So a pattern is just giving a name to good software development” Well, yes and no. On the one hand – yes, a software pattern is recognizing common software challenges and the approaches that have worked in the past to over come those challenges – and naming it. On the other hand, don’t underestimate the power of giving something a name.

Read the rest of this entry »

SOLID: Software that works.

February 9, 2010    Category: Blog, Technical   5 Comments »

This post is a part of a series that I started with “10 Practices that Every Developer Needs to Start Right Now“.

Update: This post was picked up by DZone, go vote it up!

solid_thumb

Ok, before you dig in to the post, let’s get two things out of the way first.  1.Go read the authority on SOLID principles from the man himself, Uncle Bob Martin.  2nd.Go get the very cool Inspirational SOLID images from the guys over at Los Techies. They released them under a Creative Commons License which I think is pretty cool! Alright, got that out of the way? Good. Let’s get started.

Few things have come a long OO history that resonate so well with so many developers than the SOLID principle. One of the reasons they resonate with so many developers is because they communicate several practices that many developers have been doing all along. The beauty and power of the SOLID principals in in there ability to communicate, what I call code architecture, in such a memorable and practical way.

Like any good thing, however, taken to an extreme can become a hindrance on any project. So, I’m going to tackle these principals like I tackle everything in this series… give you my take on it. So here you go: SOLID according to Caleb.

Read the rest of this entry »

image

I’m starting off this series talking about Object Oriented Programming. It’s amazing how many people write C# or VB (.NET) with long, procedural methods with really no understanding of the true fundamentals of OO design.

I know, I know – it’s not you, and know what? I’m not talking about you.. but check out the code from the person next to you. See what I mean?

Just because you’re writing in an OO language, doesn’t mean that you’re writing OO code, or taking advantage of the Object Oriented benefits. An Object Oriented language is more than classes with methods, properties and events (even VB 6 had that!).

Learn the Fundamentals.

Read the rest of this entry »

lights_ws

If you are going to read through my “10 practices that every developer should start right now” series, then you probably want to know where these 10 practices came from, why I chose these 10 – really, what so important about secure coding anyway? 😉   – I think that it’s important to know that these aren’t just 10 random items to fill a couple of blog posts. These are all practices that have been thoroughly thought out. This list is something that I started to formulate over a year ago based on my experience as a consultant, working as a technical editor, and discussions with countless MVPs, other consultants and in my interviews with potential consultants… Read the rest of this entry »

Update: Since technically a DI Container could be considered part of SOLID, I’ve swapped it out for Secure Coding… more on this soon!

If I ever right a book on becoming a .NET Ninja, these are the things that I want to cover.Ask a Ninja Handbook

Introduction

OO

SOLID

Use a Container (DI)

Secure Coding 101

Patterns

Automated Tests

Source Control

Continuous Integration

Agile | Lean | Scrum | XP

Team Dynamics

Never Stop Learning

Eventually, I’d like to write a book and dedicate at least a chapter to each of these (although any one of these topics could be a book in and of itself) In the mean time, I think that I’ll start with a blog post on each one, and maybe make it a goal to eventually do a User Group talk covering each topic? I’m looking forward to flushing these out as posts. I hope that you will enjoy them too!

What sort of things would you add to the list?

My new book is out!

June 10, 2008    Category: Blog, Thoughts   2 Comments »

wrox_book  Well.. not really *my* book. It’s not like I wrote it or anything like that. I was the technical editor on this new book, “Beginning C# 3.0: An Introduction to Object Oriented Programming” by Jack Purdum.

While most people that read this blog will probably not read the book (it’s targeted for _very_ new programmers), there was a ton that I learned while doing the book… but mostly about what it takes to work on a book. It takes a lot!

It also gave me a great appreciation for all of the authors, editors and publishers out there and the effort that they go through to bring us great titles.



Search

Subscribe

Enter your email address:

Categories