Continuations in JavaScript

I had heard of the term Continuation before, but had only glanced at it and never thought about how it could apply to JavaScript. Fortunately, someone else did the thinking for me. The low-down is that the Continuation Pattern can be used when executing really slow JavaScript algorithms that lock up the browser. By doing a Continuation, you can chunk Function algorithms into smaller processes and free up the browser so that the user isnt stuck waiting 5 seconds for your complex JavaScript algorithm to finish. For a detailed explanation check out Marijn Haverbeke article:

http://marijn.haverbeke.nl/cps/

Specificity

Specificity is measurement of the weight associated with a CSS rule. This is one of the features that makes cascading stylesheets so powerful. If you find yourself attaching classes and not seeing the styles applied, then it is probably a specificity issue. In short, styles applied to id attributes weigh more than those applied to class attributes, which weigh more than those applied to tags. Specificity becomes complicated when considering CSS rules with multiple id, ...

Scalable vs Extendable

Working with a client this last week I realized that there was a difference between scalable applications and extendable applications, and that many people do not see the distinction. When designing a widget, I told the client that it would be scalable, meaning the widget could have as many instances and permutations (in a specific format) as they needed. However, I did not designed it in a way that allowed easy extending of the widget ...