only a 0.1xer uses JS and CSS

2 years ago by Drew to c/programmingcirclejerk

GTG3000 18 points 2 years ago

Typescript is delightful to ensure that everything works and you don't get surprises. Tailwind though...

...it's certainly faster in the development but it's not nearly as nice as CSS can be, especially since now any browser supports nesting.

path: 0 14877323, hotness: undefined, score: 18, children: 3
brian 3 points 2 years ago

idk if nesting is the reason people used tailwind. imo it's more that css itself is a lot of complexity and overhead to write if you already have nesting and reuse in whatever you're using to produce html, ex react. I'd rather not have to maintain a css tree and a component tree when it can all be colocated.

writing raw html? yeah tw doesn't make any sense

path: 0 14877323 14879278, hotness: undefined, score: 3, children: 2
GTG3000 2 points 2 years ago

Well, I meant the opposite - in CSS you can make the styles cleaner with nesting and such. TW always ends up with a ton of copy-pasting.

Though I will be fair, I don't think the projects I've seen it in used the themes properly.

path: 0 14877323 14879278 14883304, hotness: undefined, score: 2, children: 1
brian 1 point 2 years ago

if you're copypasting you're not using the code reuse tools of your component library. the nesting in normal css is component nesting with tailwind. and if you're copypasting things that aren't just the same component styles but something else shared, it's just a string you can stick it in a variable.

path: 0 14877323 14879278 14883304 14899258, hotness: undefined, score: 1, children: 0
crmsnbleyd 8 points 2 years ago

uploaded image instead of just the link because linkedin sucks

path: 0 14875880, hotness: undefined, score: 8, children: 0
nick 4 points 2 years ago

Fuck typescript, fuck tailwind, fuck this idiot.

path: 0 14876834, hotness: undefined, score: 4, children: 2
Marthirial 9 points 2 years ago

I like TW and TS but I also agree with your passionate hatred for hipster siloing.

path: 0 14876834 14880344, hotness: undefined, score: 9, children: 0
spartanatreyu 5 points 2 years ago

Typescript has made the js ecosystem better.

Tailwind is the epitome of someone trying to make one tool that does everything then tries to sell you on buying only that one tool. As the old saying goes: When all you have is a hammer, everything looks like a nail. Sure you can hammer a screw into a wall, but if you used the right tool for the job to begin with, you could also unscrew the screw and replace it later without needing to fill the old hole or make another hole in the wall.

Tailwind exists purely because developers keep trying to learn CSS the wrong way from people who don't know how to use it, then get frustrated when it doesn't work out.

The problem is that when you're starting out, you don't know the difference between good and bad teachers.

path: 0 14876834 14889249, hotness: undefined, score: 5, children: 0
LodeMike 4 points 2 years ago

You can say this about literally everything.

path: 0 14892255, hotness: undefined, score: 4, children: 9
BatmanAoD 3 points 2 years ago

...no? I have heard (or made) plenty of complaints about various languages from people who know and/or use them professionally.

path: 0 14892255 14893516, hotness: undefined, score: 3, children: 8
LodeMike 3 points 2 years ago

I don't really understand your comment. I meant the statement in the image.

path: 0 14892255 14893516 14893535, hotness: undefined, score: 3, children: 7
BatmanAoD 3 points 2 years ago

The statement is "only developers who have never used them or aren't skilled with them dislike them or prefer [the primary alternative]". Is that what you mean could be applied to "literally everything"?

path: 0 14892255 14893516 14893535 14893830, hotness: undefined, score: 3, children: 6
LodeMike 2 points 2 years ago

Yes

path: 0 14892255 14893516 14893535 14893830 14893870, hotness: undefined, score: 2, children: 5
NostraDavid 3 points 2 years ago
path: 0 14919511, hotness: undefined, score: 3, children: 1
SirQuackTheDuck 2 points 2 years ago

The bigger your node_modules, the more right you are.

path: 0 14919511 15038515, hotness: undefined, score: 2, children: 0
BB_C 3 points 2 years ago

jerk style violation 😉

path: 0 15010603, hotness: undefined, score: 3, children: 1
crmsnbleyd 2 points 2 years ago

modding you right this second

path: 0 15010603 15013877, hotness: undefined, score: 2, children: 0
programmingcirclejerk
programmingcirclejerk

@programming.dev

login for more options
304
53
1

Community to talk about enlightened programming takes

Rules:

  • read and follow the programming.dev code of conduct
  • no flamewars
  • mark your unjerks
  • only programming related content allowed
  • link to the original source
  • do not mention this community in places like hackernews, lobste.rs, or the general programming communities on Lemmy where we source jerk material from.

go to feed...