6 ms·
I was once a massive Tailwind hater. I remember walking around Ipswich with a close friend who is also a developer proverbially slagging it off and all those th
by davzie 6y ago
I was once a massive Tailwind hater. I remember walking around Ipswich with a close friend who is also a developer proverbially slagging it off and all those that espoused it as the next best thing since sliced bread. Then I actually thought “well I’d better jump on this bandwagon before I’m unemployable”. I’ve never been able to build stuff so fast. I’m absolutely floored by the small learning curve and the speed at which I can put things together, especially with the help of TailwindUI too. There’s something huge to be said about the fact that I don’t need to context switch to CSS-land out of my markup to style up what I’m doing. I didn’t realise it, but that overhead of switching to a style sheet and going back to modify markup and then viewing the results in the browser really just used up my mental energy battery. Now, if I was in prison with Adam Wathan and Steve S, I’d 100% protect them in the showers if they dropped the soap.
- zoover2020 6y agoExactly my experience, haters gonna hate... For CSS, I'd argue it _is_ the best thing since sliced bread
- hardwaregeek 6y agoThat's...the most interesting way I've seen of saying you like someone's work.
- Ashanmaril 6y agoIt's also very nice when you're moving some markup from one file to another and not having to worry about where certain styles are coming from and copying those over too
- tomcam 6y agoIt's all fun and games until you're in the prison shower with a bunch of Bootstrap goons
- deleted 6y ago[deleted]
- Swizec 6y ago> There’s something huge to be said about the fact that I don’t need to context switch to CSS-land out of my markup to style up what I’m doing. I didn’t realise it, but that overhead of switching to a style sheet and going back to modify markup and then viewing the results in the browser really just used up my mental energy battery. Welcome to what us React folk have been saying since at least 2016. Splitting your code by language is bad. Vertical slices for the win.
- benatkin 6y agoAgree. Vue and Svelte get this right as well (assuming you use SFCs properly), except they don't have bizarre preferences for one-way data binding everywhere or typing className instead of class.
- runarberg 6y agoAgree with this. Although I’m gonna say it is not the single file per-se which is the winning technology here but the component scoped styles. When writing vanilla web components this can be accomplished with `this.attachShadow()`, and in Stencil you write an external stylesheet and reference it with a `styleUrl` in your `@Component` decorator. In fact it is kind of nice to put your styles in another file if you have a designer on your team who is afraid to touch any files that don’t have the `.css` extension.
- aabbcc1241 6y agoElm also approaches this way, with type-safe checking.
- tiborsaas 6y agoI still dislike CSS in JS solutions and classname soup. - A fellow React folk.
- atonse 6y agoCan we please add this prison testimonial to the tailwind website?
- b0afc375b5 6y agoThis is the most eloquent way I've read someone praise someone else's work so far.
- runarberg 6y ago> Now, if I was in prison with Adam Wathan and Steve S, I’d 100% protect them in the showers if they dropped the soap. Sorry to go on a tangent here with a commentary unrelated to the discussion at hand (which is indeed an interesting one), but can we please stop with the rape jokes. They are not funny, and may be triggering to a large portion of your readers.
- cloogshicer 6y agoAgreed, good thing you pointed this out. Here's a really good video that discusses this issue: https://www.youtube.com/watch?v=uc6QxD2_yQw https://www.youtube.com/watch?v=uc6QxD2_yQw
- Kaze404 6y agoI'm glad someone said this before I did. Male sexual harassment has been so normalized in media over the years that we can barely recognize it in the wild. As a man who has dealt with sexual harassment before, I feel like we should talk about it more.
- lurker3901 6y agothanks for going on a tangent about something unrelated then /s
- davzie 6y agoI said I’d protect them !
- vore 6y agoThe point is more that it's continuing to socialize the idea that rape in prison showers is a normal part of being in prison, which is sad.
- dasil003 6y agoI love how quickly you went from publicly denouncing Tailwind to panicking that you would be left behind and jumping on the bandwagon. I'm imagining this psychological drama playing out within the gap between two spoken sentences to your friend and it's hilarious.
- pfraze 6y agoI completely agree with your points on mental energy expenditure and speed of development. I thought it was a bad idea, but I’m now 3 months deep into a big project using it and I will never go back.