I am starting a site where I'll be having profiles of close to a 100 guys. What is better for SEO purposes: firstname-lastname.php or firstname_lastname.php ??
hyphen is easier to type, does not need the use of the shift key. by google is treated as a space. so yellow-paint.php 2 keywords yellow_paint.php would be one word and few would search for that. also see http://www.mattcutts.com/blog/dashes-vs-underscores/ Underscore can look like a space then the link is underlined and can thus cause confusion when typed manually
Definitely the dash - because of the search engine indexing things which you may saw on matt cutts blog BUT also for a more evident reason: when you make a hyperlink (and you have a URL which has underscores _ ) you can't see the underscore! So dashes (or hypens) are better than underscores
It should be consistent but like vagrant mentioned underscores can be confusing when the link is underlined. Many of them as a convention use hyphen for directories and underscores for filenames (especially if you are using .php file).
It doesnt matter one bit to search engines, but from a users point of view, a hyphen is always the best option .
I always use dashes, except for file names (use underscores). Not really sure why I do... but thats what I do.