I think it's important to know when to write a character's name as opposed to writing he/she said. I admit that even I make this mistake at times.
When character's interact with each other naming is necessary to an extent, purely to show the reader who's doing what. Now when characters speak plus interact with the environment at the same time, the likelihood that you'll have to use names increases ten fold.
Just an observation.
Writing is all about balance and keeping stuff fresh. Use the same sentences too often and you bore the reader.