Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Habits and Familiarity

By Steve Jones,

This piece was originally published in Database Weekly on Oct 12, 2009. It is being re-run as Steve is away on sabbatical.

I've heard that it takes 2-3 weeks to develop a habit. Do something every day for that length of time and it will start to be a routine for you. I'm not sure it happens that quickly, but I know that after a couple of months, running became a habit for me, and became more enjoyable. It's something that I now look forward to daily.

When something becomes a habit, or becomes part of our routine, we develop some skill with that. In our jobs, building those skills usually makes us more efficient. When you know the schema of your database or you can remember the syntax for a SQL command, you don't have to look things up in Books Online, and you can code quicker. I know I've strived to develop habits over the years, ingraining certain tendencies that would allow me to get more work done in shorter periods of time, at a higher level of quality.

However technology changes. And sometimes sticking with those habits, those tried and true methods of solving problems, isn't the best way to build your software. As new features come about, or products behave differently in new versions, sticking with the same methods for solving problems might not be the best way to continue to do well at your job.

I noticed a new blog series this week from Aaron Bertrand and Adam Machanic that looked at kicking some bad habits in the SQL Server world. There are some good posts in there, and I remember having some of these habits, and having to unlearn them and work on new habits. Moving from the old style joins to ANSI ones was a hard habit for me to break, but now I can't go back. I even have trouble reading forum posts where someone has stuck to this style of join. Not all of these habits are bad in terms of performance, but I think it's a good series on habits you can break that will make you a better coder on a team. Some of the items mentioned make it harder to share code with other people if you are still using them.

While it's good to break habits, I don't think that it's worth jumping in and experimenting with every new change that comes along. It's good to have some habits and familiar techniques lying around that make you efficient. Use them as long as they work. But pay attention, educate yourself, and read about changes. Talk to friends and learn what new things they're trying. If something becomes a standard and makes sense, add it to your toolbox, and pull it out as often as you can.

That way you'll build a new habit.

Total article views: 172 | Views in the last 30 days: 1
 
Related Articles
BLOG

Building Better (Different) Habits

For years, ever since I was first required to be on call, I’ve made it a habit to check my...

BLOG

Work Habits

I enjoy woodworking as a hobby and as I try new things I find that my work habits during the...

FORUM

Need help breaking "bad habit"

Bad habit: we generally make developers "dbo" of dev, test, and production databases. Pluses: conve...

BLOG

Baby Steps to Learning Something New

I had a really bad habit of trying to jump into the middle of something I didn't know very well,...

BLOG

Building Something Fun

A little further off topic than usual today, something not about technology and work for a change. W...

Tags
database weekly    
editorial    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones