4 ms·
"making the code read like English" is what doomed Semantic UI. There was a brief period of popularity for it, but looking at all the popular Bootstrap-type lib
by notsureaboutpg 5y ago
"making the code read like English" is what doomed Semantic UI. There was a brief period of popularity for it, but looking at all the popular Bootstrap-type libraries now, none of them try to be "semantic" or "read like English"
Because at the end of the day the function of the code is not the function of speaking or writing the English language.
Styling front-end components does not work like the English language works. I can call something "big" in English and everyone knows what I mean, but the browser will determine what an element having the "big" class means based on the context of its parent elements and its children elements. That difference makes it extra confusing to use code that's trying to be "semantic" especially if the "semantics" are trying to hide more expressive and complicated functionality from the user.
- srbaker 5y agoIt's true. This is why I never understood why people used RSpec for real software. It was only intended to teach people how to think.