Earlier quoted context omitted.
Just because something is old doesn’t mean it’s correct, this is such a curmudgeon take. Things we have have evolved over a long time, have been started hastily (JavaScript) and there’s no reason to believe we’re not in a local minimum and something much better is out there. I personally believe the js model is completely wrong for the browser and something like an actor model would fit much better. I’m not saying we…
Evolution is very hard to beat. CSS is not static. It has been getting better and better all the time and keeps improving.
Tailwind Isn't for Me
31–40 of 191 posts
Re: Tailwind Isn't for Me
#32Earlier quoted context omitted.
In your analogy, wouldn't tailwind be more of a multivitamin, in that it contains a bunch CSS classes (vitamins) conveniently packaged and ready to go? I haven't used tw yet, but I intend to because I was blown away by how much sense the authors' book Refactoring UI made.
Taking multivitamins is usually the wrong approach. So they are indeed a kind of snake oil. Which condition do you intend to treat by taking multivitamins? Have you looked at randomized controlled studies and found that they support your idea that taking MVs has a positive effect on that condition? Have you got your bloodwork done? Did the doctor then suggest that based on your situation MVs are the right approach? I…
Re: Tailwind Isn't for Me
#33Earlier quoted context omitted.
Just because something is old doesn’t mean it’s correct, this is such a curmudgeon take. Things we have have evolved over a long time, have been started hastily (JavaScript) and there’s no reason to believe we’re not in a local minimum and something much better is out there. I personally believe the js model is completely wrong for the browser and something like an actor model would fit much better. I’m not saying we…
Evolution is very hard to beat. CSS is not static. It has been getting better and better all the time and keeps improving.
it only took ~20 years to get a working vertical align (which was available in HTML from basically day 1, might I add). similar for grid to be available and it still kinda sucks.
Re: Tailwind Isn't for Me
#34Earlier quoted context omitted.
In your analogy, wouldn't tailwind be more of a multivitamin, in that it contains a bunch CSS classes (vitamins) conveniently packaged and ready to go? I haven't used tw yet, but I intend to because I was blown away by how much sense the authors' book Refactoring UI made.
Taking multivitamins is usually the wrong approach. So they are indeed a kind of snake oil. Which condition do you intend to treat by taking multivitamins? Have you looked at randomized controlled studies and found that they support your idea that taking MVs has a positive effect on that condition? Have you got your bloodwork done? Did the doctor then suggest that based on your situation MVs are the right approach? I…
If someone's good at, fast at, and enjoys writing vanilla css, it might be the way to go, but if they don't have a sense of design or lack skill in writing CSS, a framework allows pages to look professional quickly.
A site made with a css framework may not be as extensible as one made with vanilla css, but if there's strong enough desire it could always be taken out and swapped for vanilla CSS.
For quickly getting things done on projects where time/resources are , I'd go for a frame work (for the reasons above: I lack a sense of design and would spend an eternity tinkering and doubting my design choices).
Re: Tailwind Isn't for Me
#35I love tailwind. I strongly feel that most modern CSS solutions are massively overthought. In engineering we have bigger problems to solve than a key/value list that makes a div blue. Tailwind removes the thinking around CSS, naming, preprocessors etc etc, it just lets me write good CSS and focus on components and other engineering problems. I seem to be one of the few people who can read CSS properties horizontally…
Why not Styled Components? I've been using them for years now and I'm extremely productive. Tailwind on the other hand looks like a hellish nightmare, horizontal reading, proprietary syntax, no selector targeting of other components.
Re: Tailwind Isn't for Me
#36Tailwind is an abomination. Of course it's easier to use. Pressing the bold button in MS Word is easier than setting up styles etc, but one makes it easy to create an impossible to maintain mess that could have been made by a primary schooler, and one makes it possible to create a consistent style that looks professional. The only reason I think Tailwind is becoming popular now is it's exposing a bunch of things like…
Personnaly, I love the cascading part when used correctly, along with the 'latest' evolution of CSS such as 'calc()', variables, on top of using CSS selectors.
Re: Tailwind Isn't for Me
#37Re: Tailwind Isn't for Me
#38Earlier quoted context omitted.
Locality of Behaviour: "The behaviour of a unit of code should be as obvious as possible by looking only at that unit of code" https://htmx.org/essays/locality-of-behaviour/ Some people want "cleaner" and that's fine, I much prefer things to be "right there" as much as possible. Must be how my brain works
Unfortunately it’s a little more complicated than locality of behavior because there is a trade off with duplication and consistency of behavior
Re: Tailwind Isn't for Me
#39I guess it drills into a part of human nature where we are always measuring ourselves and our things against others.