4 ms·
Surely that's a parody. If it's not...
by sjclemmy 10y ago
Surely that's a parody. If it's not...
- vog 10y agoI clearly is. Note the absurd metric (lines and spaces) to justify how the blown-up version is considered to be smaller. Also note that the article consequently talks about "Node code" even though they are talking about client-side JavaScript. From the article: #gulp { color : #0000ff; padding : 10px; } This CSS takes up 4 lines, and at least 13 spaces. [...] document.getElementById(‘gulp’).style.color=‘#00f’; document.getElementById(‘gulp’).style.padding=‘10px’; This Node code takes up only 2 lines and there are 0 spaces. Essentially, we are saving lines, spaces, and files (delete your .css documents!).
- pluma 10y agoAs a rule of thumb: if it's written by Jenn Schiffer, it's probably satire. Also, she called CSS "California Style Sheets" and called JS DOM manipulation "Node code". Also, the header was obviously done in MS Paint. Also, it's Jenn Schiffer.