In the old days, it was important to design programming languages and command interpreters, like the DOS prompt, in a simple manner. It turns out that banning spaces from filenames and variable names significantly simplifies a programming language. This is why programming types go on about whether their language is LALR1 or not.
In these days of graphical user interfaces, like Windows, it doesn't matter much any more. However, if you use the Windows XP command prompt, or do much programming, or use Linux, then filenames without spaces are still handy. The people you see using underscores in file names are probably either programmers, or long time computer users. Old habits die hard.
A large fraction of Windows native file names are still 8.3 characters with no spaces. The Windows XP installer, under certain conditions, can't support anything other than 8.3 character file names. Those DOS limits aren't dead yet.