I actually write my code in Notepad because I completely control what I'm writing and how I'm writing it. I've also started using the MS Visual Web Developer software, which is essentially the same as Dreamweaver but has ASP.NET support. It also shows minor errors and such.
Dreamweaver code is too automated for me. It does things its own way and when I want to do something exactly my way, it doesn't do it. Granted, it writes Javascript, which I, being a starting programmer, can't do, but its code is very heavy when doing this. Plus, I have my own organization system (markup in the file, such as indentations and spacing), which Dreamweaver does differently.
I say that any program that you can use to simply edit the code is fine. Dreamweaver is expensive and very large, while Notepad is tiny, free, and already installed.