3,010 reputation
1523
bio website zzzzbov.com
location -
age 27
visits member for 4 years, 5 months
seen Apr 23 at 20:05
Have something to say? Send me an email:

zzzzBov at gmail dot com

or find me on twitter @zzzzBov


Apr
16
comment What makes BEM better than using a nestable style sheet language like LESS?
@CoreDumpError, it certainly might be. I find BEM easy to train new developers in and it makes it easy to code review, but SMACSS and OOCSS are good alternatives. I highly recommend looking into those options as an alternative. I will say that I use BEM for my own development so that I don't conflict with myself, especially with future me, who is stupid and forgets things.
Apr
16
comment What makes BEM better than using a nestable style sheet language like LESS?
@CoreDumpError, Consider this example. An author writing without BEM needs to spend additional effort to verify every combination of every module that might be added within their module. An author using BEM doesn't.
Apr
15
comment What makes BEM better than using a nestable style sheet language like LESS?
@CoreDumpError, the problem is when you start nesting modules within modules. "each developer can just nest their specific widget's code one level deeper" is not quite correct, each developer must nest their specific widget's code deeper and deeper otherwise naming collisions cascade in ways that are generally unintentional. The only way to avoid naming collisions is with some sort of namespacing, and BEM offers an easy way to consistently namespace classes.
Apr
15
awarded  Explainer
Apr
15
awarded  Organizer
Apr
15
revised What makes BEM better than using a nestable style sheet language like LESS?
edited tags; edited title
Apr
15
answered What makes BEM better than using a nestable style sheet language like LESS?
Apr
15
comment What makes BEM better than using a nestable style sheet language like LESS?
BEM and LESS serve different purposes. I use both BEM and LESS.
Mar
10
awarded  Popular Question
Feb
26
comment Is it worth even checking to see if Guid.NewGuid() is Guid.Empty?
an excellent example of programming by coincidence‌​.
Dec
18
comment Are all magic numbers created the same?
Relevant: thecodelesscode.com/case/19
Nov
25
comment Function guaranteed to never return the same value twice
function neverReturns() { throw new Exception(); } will never return the same value, but that's just because it never returns any value.
Nov
25
comment URLs in javascript in the browser
Ajax is often used to replace what a standard form would otherwise submit to the server, so one of the best places to put the URL is in the [action] attribute of a <form>.
Nov
17
awarded  Yearling
Oct
2
revised What is the benefit of a function without parameters which only calls another function
edited body
Sep
10
comment What is the purpose of a Code Review
"What is the purpose of a code review?" to prevent developers from writing terribad code, and to steer them in the right direction.
Jun
23
comment When making responsive design how many versions of account for?
"A good responsive design will flow to fill the available space." this implies that designs that do not flow to fill available space are not good responsive designs.
Jun
13
answered What if(event) statement means in JavaScript?
Jun
13
comment What if(event) statement means in JavaScript?
"if(event) is the same as if(event == true)" no, this is not correct.
May
23
answered Should our team order Javascript class methods/properties consistently? If so, how?