Writing a thank you note after a job interview is not such a bad idea. It distinguishes you from the applicants who were too lazy to bother. It also serves to give your interviewer a nudge after you've gone that says, "Hey, remember me?" Staying in the forefront of his or her mind is a good thing. Don't let them forget you.
But if you are going to send a Thank You note, there are a few simple guidelines your should follow to get it right. Read about them at U.S. News.