News for hackers. Stuff that matters.
Re:Bootstrap 3.0 Upcoming changes by Griever on Wednesday December 19, 2012 @11:16AM (#4943227)
Exciting! I really hope they do end up going with multiple modal widths in 3.1, as I've had to do this myself on more than a few occasions.

On a side note, I'm curious as to why they decided to refactor their variable names to include dashes instead of just sticking with camel casing. Personally, I find camel casing to be much more readable.

Re:Bootstrap 3.0 Upcoming changes by jpdevereaux on Wednesday December 19, 2012 @11:31AM (#4943308)
For a while the dash-ing annoyed me until I realized that it makes selecting/changing part of a variable name easier (at least in vim). Can't imagine that's the reasoning behind it but it does work out well.
Re:Bootstrap 3.0 Upcoming changes by markdotto on Wednesday December 19, 2012 @07:16PM (#4945616)
Vim wasn't the exact reason, but text selection is a huge part of it. Readability and text selection are huge.
Re:Bootstrap 3.0 Upcoming changes by Griever on Wednesday December 19, 2012 @11:40AM (#4943357)
Thanks, that's good to know.

I suppose it doesn't make _too_ much of a difference considering I prefer to use hyphens in my css classes anyway, but this just seemed like a somewhat useless change that will end up breaking a lot of customization's..

Re:Bootstrap 3.0 Upcoming changes by ubersoldat2k7 on Wednesday December 19, 2012 @12:21PM (#4943574)
Although not always, you'll end up mixing CSS with JavaScript. In this case when naming CSS with dashes it's easier to differentiate from my JavaScript names, i.e. $("#myDiv") vs $("#my-div").