News for hackers. Stuff that matters.
Re:A Single Div by Aweorih on Thursday July 14, 2016 @12:12AM (#12091579)
I would compare it like this: C is extremely fast php which is built on C is not so fast So css is like C, built on the internal stuff so pretty much no overhead or anything. Javascript animations are like php, built on top of css with just manipulation of the css/dom structure.
Re:A Single Div by wlievens on Thursday July 14, 2016 @02:16AM (#12091979)
What you mean the say is "there are less abstraction layers".
[dead]
Re:A Single Div by hueving on Thursday July 14, 2016 @07:32AM (#12092919)
Nah, 'less' because abstraction layers are not as defined as we want to believe so they are more like spackle piled onto a foundation. :)
Re:A Single Div by kenbellows on Thursday July 14, 2016 @09:43AM (#12093657)
As long as we're being pedantic, it's definitely 'fewer'. 'Less' is only used in cases where you couldn't conceptually talk about a single instance of the thing being described. 'Less distance', but 'fewer miles'; 'less abstraction', but 'fewer layers of abstraction'. Even if in practice it may be difficult to find the edges of a single layer of abstraction, the word 'layers' is still metaphorically talking about a collection of individual items, and whenever this is the case we use 'fewer'.
Re:A Single Div by Piskvorrr on Thursday July 14, 2016 @07:39AM (#12092952)
That's the best explanation of a language quirk I've heard for a long, long time! :)
Re:A Single Div by wlievens on Friday July 15, 2016 @02:57AM (#12099334)
I know no king but the King in the North, whose name is STARK!