News for hackers. Stuff that matters.
Re:Bootstrap 4 alpha by mdo on Wednesday August 19, 2015 @12:58PM (#10086832)
Thanks for noticing! :)

I spent a lot of time deleting stuff lol. Still more to optimize around though as we work through the alphas.

Re:Bootstrap 4 alpha by sdnguyen90 on Wednesday August 19, 2015 @04:55PM (#10088431)
Saw on your Twitter that V5 will use PostCSS... Is this still planned? If so, any specific details on how it will be used?
Re:Bootstrap 4 alpha by gapchuboy on Friday August 21, 2015 @04:22PM (#10099985)
I am wondering why it wasn't ported from Less to PostCSS? SASS is more popular, but that port would be too much of disruption of workflows.
Re:Bootstrap 4 alpha by ttcbj on Wednesday August 19, 2015 @05:02PM (#10088469)
+1 for sincere thanks. bootstrap is one of many factors that had made a lean development approach so much easier.
Re:Bootstrap 4 alpha by o_____________o on Wednesday August 19, 2015 @01:31PM (#10087082)
Thanks for your work! It's amazing that I can still recommend it to people looking to quickly scaffold something beautiful.
Re:Bootstrap 4 alpha by thomasrossi on Wednesday August 19, 2015 @02:39PM (#10087535)
Thanks for the work! I would have no clue on UI without bootstrap
Re:Bootstrap 4 alpha by meerita on Wednesday August 19, 2015 @01:59PM (#10087279)
Any plan to support BEM?
Re:Bootstrap 4 alpha by gpmcadam on Wednesday August 19, 2015 @03:37PM (#10087898)
Mentioned on github before https://github.com/twbs/bootstrap/issues/9366#issuecomment-2...

Personally I hope they never impose such an awkward naming convention.

Re:Bootstrap 4 alpha by mdo on Wednesday August 19, 2015 @04:18PM (#10088161)
No plans :).
Re:Bootstrap 4 alpha by paulojreis on Wednesday August 19, 2015 @05:32PM (#10088656)
I think it's a good idea to avoid "BEM" in such a mainstream project, since the naming pattern clearly puts some people off.

However, what about the problems that BEM tries to solve? Using a naming pattern to communicate structure (element E is a "child" of block B) is a good idea (instead of e.g. a descendant or a child selector) because of:

a) Performance: one class (e.g .blockB__elementE) will be faster to "match" by the browser than .blockB > .elementE /.blockB .elementE;

b) Less coupling to DOM structure: to have the desired style, element E doesn't necessarily have to a child of B.

Similar points can be applied to modifiers. A "btn--large" instead of "btn btn-large" seems like a good idea for performance and also to avoid conflicts (the latter class will override the first, but I wouldn't want to care with order).

Re:Bootstrap 4 alpha by elkhourygeorges on Wednesday August 19, 2015 @05:48PM (#10088750)
Thanks!