Don’t get me wrong, I’d always choose html over js if I could. My problem with css, and web in general, that it’s too fragmented. It’s like those people who are designing css, html, js and browsers didn’t speak to each other whatsoever. So now there is entire industry of js frameworks to glue all shit together. Like, look at the WebComponents. Which supposed to be native, out of the box replacement. So much effort and they still cannot compete, in some cases they simply do not provide basic features needed to build complex UIs. Next time I can choose stack I’ll probably just go with htmx
- 2 Posts
- 12 Comments
Don’t know about tailwind but I used styled-components and not going back to vanilla css. CSS seems to be designed to be used with HTML, which did make sense back when it was created. Modern web is 99% JS and components composition which does not work well with Vanilla CSS in terms of class name uniqueness, specificity. Also it easy to dumb shit with CSS, like, I worked in the project where we had a lot of legacy global CSS. We had like dozen CSS styles which were adding margin to <label/>, <p> and so on. I mean no classes, just globally. I’ve been forced to add ‘all: unset’ to basically all my new components just to avoid changing global styles and breaking something else. Do not recommend.
It’s not like I’m deciding on customer’s IT policy
I’m doing cloud migration now and one of assumptions is that two regions in Americas is enough for resilience. I’m in danger
Nope, JS is “You think you are nerd”.
Also, why React is there? It’s a lib not a language
I’m still not totally understanding what you’re looking for. But if you need alternative to JS for writing web UIs check out htmx. It’s still JS lib but its main goal to facilitate hyper text as engine. Meaning you do SSR but with CSR UX. And it’s backend agnostic.
Lysergid@lemmy.mlto Programming@programming.dev•Fixrleak: Fixing Java Resource Leaks with GenAI4·2 months agoIf one needs AI to add try-with-resources then one shouldn’t code professionally
PRs should be exactly as big (or small) as task requires. It’s task that needs to be split into smaller task, if it makes sense to split of course.
Minecraft block shaped earth
Depends on what I’m trying to achieve. Coding something that requires less thinking but staying more focused and keeping up energy - techno, EBM/industrial, phonk. If it requires more cognitive effort, I choose more background-ish music like lo-fi hip hop. When not coding - same plus synthwave/vaporwave, jazz, funk
Omg this is so true, I had 3 engineers which supposed to work on component. It took me almost a day to explain context, requirements and how work is split. Two of them were busy with other work. One did their part. After reviewing I realized they still lack understanding and need to rework what was done.I made an experiment and implemented whole thing myself. Since coordination part was eliminated it took me 3 times less than initially estimated.