Archive for the ‘Style’ Category

Hyphens and underscores and camel case (Oh my)

Sunday, December 13th, 2009

There’s a poll going on over at CSS Tricks asking whether coders and programmers prefer hyphens, underscoring or camel-casing when writing multi-word function names, CSS classes and IDs, et cetera.

The results of the poll are unfortunately going to be worthless due to the way the poll and the options were written. You’re only allowed to choose one of the three and, judging by the comments, the real answer for most people is “It depends.” (more…)