Just drag the app to your Trash and you're done! Easy and free!
No, no, no no no!!! This is one of the destructive myths about OS X which has brought people endless headaches.
You must, *must* delete the leftover files for many programs, or you'll have serious problems.
Just one example. I downloaded a program called "1password" which is meant to make your password handling easier for the various internet sites etc. It is a well liked program and many folks recommend it. After using it for a couple of weeks, I realized it wasn't for me - I prefer a different piece of software. So I decided to get rid of it. That's when problems began.
The app does not have its own uninstaller, so I just did as dejo and so many others disastrously advise - just dragged the 1passover app folder from the application folder to trash and emptied trash.
O-oh. Bad, bad move. I couldn't even open a browser window without a stupid dialogue box popping up asking me for my "1password" password! It was a nightmare! I did everything I could to try to get rid of it, I used spotlight to search for any remanants of the software (for the record, I hate Spotlight, it's a POS that never works for me, it rarely finds a systems file I search for). I emptied all browser caches, browser history, and as elppa so rightly advises:
/Library/Application Support/
~/Library/Preferences/
~/Library/Caches/
/Library/Documentation/
And still no dice - that idiotic dialogue box kept coming up. Finally, I found a plist file hidden inside the keychain preferences(!), got rid of that, and after 2 days, I was finally, finally liberated from the horrific ghost of 1password that was incapacitating my laptop.
So, anybody who tells you to just drag the app from the app folder into trash, is talking out of their, well, lack of knowledge to put it diplomatically.
And don't think that it's only an obscure app that has this problem, or only certain class of apps. Wrong. What if you want to make a totally fresh install of Firefox? Can you just trash the app? NOPE!!! Unless you go in and trash all preferences associated with the browser, you'll still get the old settings. Or how about Toast? Or any number of apps that do horrible damage to your system and make it behave weirdly unless get rid of every last file associated with that software?
So, you must take off and nuke it from the orbit - that's the only way to make sure.
In fact, this is bad design on the part of Apple. There is no system wide uninstaller - XP has one (problem is, it's poor). Given how many problems occur Apple really should have an uninstaller - it is unconcionable that users have to go on treasure hunts for hours to pull up all the weeds. BAD DESIGN APPLE!!!
And bad advice from folks about how to uninstall apps in OSX.
And btw. it's not very smart to suggest that the only reason folks want to get rid of the toxic leftovers in various Library folders is they want to save space... nope, not anymore than getting rid of leftover dlls is about space on XP.