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.
[ Parent
| on HN ]
What you mean the say is "there are less abstraction layers".
[dead]
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'.
That's the best explanation of a language quirk I've heard for a long, long time! :)