by jcampbell1 · 12y ago · 0 comments
You could argue CSS is a failure, because designers don't know that
#sidebar .widget
is slower than .widget
I'd argue that it is evidence CSS is a success because it makes no real difference, and people opt for the more readable solution.http://stackoverflow.com/questions/5797014/why-do-browsers-m...
How can you apply a blanket "premature" to this? The questions are simply "can this be improved?". There's nothing premature about it, it is a quiz.
"Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%." --Donald Knuth
I am not sure what the exception is about. I agree 100% with the rest of your comment.