Earlier 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
Also known as spaghetti code.
Tailwind Isn't for Me
141–150 of 191 posts
Re: Tailwind Isn't for Me
#142People want painkillers, not vitamins. That's why there is this endless flow of snake oil frameworks like Tailwind and all the others. People see some fancy demos and think "wow, so cool so easy" and "This is the newest framework, so it must be the best" and go for it. Then over time, they get caught in a web of problems that the complexity of the framework produces. Then a few people go for the vitamins route (plain…
With that said, your premise is correct. Prevention is uncool, and safety seems overbearing, preparation is met with "YAGNI". Until people need it.
Re: Tailwind Isn't for Me
#143Earlier quoted context omitted.
I feel we need a club for grumpy old men that yell at clouds! I'm only 34 but after 10 years doing this I now fully understand what my seniors were trying to teach me when I started. Boring technologies that work and will continue to work with the minimum of lock-in and fuss long into the future are what get me excited now.
I’m a bit older but I’m getting progressively more annoyed by this attitude of my peers, and increasingly think it’s an excuse not to learn new things. I know plenty people that are stuck in Python and are some middle mangers and just yell bah! at everything new. I’ve worked through the whole stack, am now heavily in elixir, work in a cutting edge LLM company and feel I’m better than I ever was. There’s a balance.
I've shifted career and work as a photographer now, so remain ultra-conservative in my technology choices because I know I don't want to expend the time and mental energy to adopt over-complex solutions. It's less about how old/new they are, and more using the right tool for the job.
PS: Glad to see Elixir cropping up more and more. I loved using it before I changed careers, and still keep tabs on it. I've got an idea for a small API/service that might benefit my work, and unless I stumble upon a more appropriate choice, it'll likely be based on Phoenix.
Re: Tailwind Isn't for Me
#144Re: Tailwind Isn't for Me
#145Earlier quoted context omitted.
I feel we need a club for grumpy old men that yell at clouds! I'm only 34 but after 10 years doing this I now fully understand what my seniors were trying to teach me when I started. Boring technologies that work and will continue to work with the minimum of lock-in and fuss long into the future are what get me excited now.
I’m a bit older but I’m getting progressively more annoyed by this attitude of my peers, and increasingly think it’s an excuse not to learn new things. I know plenty people that are stuck in Python and are some middle mangers and just yell bah! at everything new. I’ve worked through the whole stack, am now heavily in elixir, work in a cutting edge LLM company and feel I’m better than I ever was. There’s a balance.
I like learning new things but the industry shouldn't follow latest trends for any project. https://boringtechnology.club/
Re: Tailwind Isn't for Me
#146Earlier quoted context omitted.
google "html web components"
It's a nonsensical term for components with predefined markup and no Shadow DOM
That's the only "build-like" part of my current website, but I'd much rather manage this beforehand and serve static HTML, or run a server-side process than use JS/HTML web components at runtime.
Re: Tailwind Isn't for Me
#147Earlier quoted context omitted.
"Less verbose" I guess by a few characters... at the expense that you're not writing real CSS rules. So you're having to translate every rule into whatever Tailwind's syntax is for the same thing.
It's not the same thing, though. Tailwind applies rules from your design system, not plain CSS values. Assuming you're updating your corporate design to use border-radius 2 vs 4 everywhere, with Tailwind it's a matter of reconfiguring your design system configuration; with styled components (and other approaches) you're going on a string hunt.
Re: Tailwind Isn't for Me
#148Earlier quoted context omitted.
It's a nonsensical term for components with predefined markup and no Shadow DOM
So essentially what partials in a template or server-side include solve. That's the only "build-like" part of my current website, but I'd much rather manage this beforehand and serve static HTML, or run a server-side process than use JS/HTML web components at runtime.
``` {your standard static html} ```
This is just a better way of doing DOM scripting, enhancing without waiting for Document Ready event, and having more freedom when to load the dynamic bits.
Re: Tailwind Isn't for Me
#149Earlier quoted context omitted.
what about maintain a product? ship improvements and changes to the product?
If it makes money just throw more money at it. If it doesn't who cares?
Re: Tailwind Isn't for Me
#150Earlier quoted context omitted.
It's not the same thing, though. Tailwind applies rules from your design system, not plain CSS values. Assuming you're updating your corporate design to use border-radius 2 vs 4 everywhere, with Tailwind it's a matter of reconfiguring your design system configuration; with styled components (and other approaches) you're going on a string hunt.
Styled components are code. You could easily have a value from a central config rather than a string, like ${company.padding.px}.