Showing posts with label Best Practices. Show all posts
Showing posts with label Best Practices. Show all posts

Wednesday, July 7, 2010

SOLID Object-Oriented Design - Video presentation by Sandi Metz

From Gotham Ruby Conference 2009

Sandi Metz gives a very insightful walkthrough on the SOLID principles.

Monday, August 24, 2009

Sql Antipatterns

Presentation by Bill Karwin (from the MySQL Conference & Expo)

Thursday, February 26, 2009

Continuous Refactoring vs Refactor Mercilessly

Good ideas need to have a name. Uncle Bob refers to the boy scouts' rule, "Leave the campground cleaner than you found it". The "Pragmatic Programmer" authours say "Fix the problem, not the blame". Fowler's advise is to refactor any time the code smells.

Google shows that there are
3 660 hits for "Refactor Mercilessly"
2 040 hits for "Continuous Refactoring"

So even if I like "Continuous Refactoring" best, I guess "Refactor Mercilessly" won.

More important, I will try to make this a part of my autopilot programming: Whenever I stumble upon something that smells like crap, I will go ahead and fix it right away. Instead of blaming, commenting or apathetically ignoring the code.

Seiri-Seiton-Seiso-Seiketsu-Shutsuke

The S5 principles from japanese car industry in the 50s are interesting for software development:

Seiri: Organization; Know where things are, use proper naming
Seiton: Systematization; Put things where you expect to find them
Seiso: Cleanliness; the absense of dirt
Seiketsu: Standardization; Define rules and policies;
Shutsuke: Discipline, in the japanese way

We have a lot to learn from the car industry. A car can't have errors. Neither should our programs So let's pretent we're building cars!

Saturday, February 14, 2009

SSW: Rules and standards

This is a great guide to follow when doing software (and specifically .NET) development. Very useful stuff!
Scott Guthrie