As a quick update to Trends in Technical Syntax: Hyphens and Underscores, I’m just posting to say that I’m now pretty much using hyphens in all my CSS classes and id tags.
And for URLs - always underscores for real files. For url “tokens” (references to resources, but not real files), I’ll probably continue to use hyphens, though with the help of rewrite tools, I’m starting to use forward slashes, too.
Examples? BigDecimal (class) in Ruby and appendTo (function) in Ruby. And Perl seems to be a little different… subroutines seem to be all lowercase… no tower of babel here!!