Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jacamat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
jacamat
7y ago
jail is not that bad.
2.
▲
by
jacamat
8y ago
Localization != personalization.
3.
▲
by
jacamat
8y ago
I'll definitely respond to this more later. ;)
4.
▲
by
jacamat
8y ago
It’s not reusable. It’s not consistent. It’s not scoped. It may be hard to see now how it will bite you now, but I promise you, it will. It would take hours to explain why, but I am speaking from years of experience here. There is a reason
5.
▲
by
jacamat
8y ago
Mixins FTW!!
6.
▲
by
jacamat
8y ago
But I only want the element to be the color it IS, not a range of colors it could be. Whats to stop a dev using $concrete when they should be using $cloud? or $linkGray instead of $headerLinkGray? these inconsistencies compound, especially
7.
▲
by
jacamat
8y ago
There’s no magic. Remember that at the end of the day, no matter what approach you take to your CSS, we are all dealing in trade offs. I like to say, that with components, you encounter “a new level of bugs.” With Functional CSS, you deal m
8.
▲
by
jacamat
8y ago
Avoiding the cascade is kind of the point, although I'm sure that sounds antithetical. IMO, the cascade should be treated with an "opt-in" approach, where you have a fine degree of control over what, precisely, is cascading a
9.
▲
by
jacamat
8y ago
Sure thing. Due to an NDA, I can’t get into granular detail about the site, but I’m more than happy to expand on the problem. When I started here, I sort of “inherited” a large stylesheet written in the classic BEM/Tachyon style of CSS
10.
▲
by
jacamat
8y ago
No, the key phrase is, "We don't think this is the best way to write CSS."
11.
▲
by
jacamat
8y ago
in what way is that consistent tho?
12.
▲
by
jacamat
8y ago
you have that with tailwind too, lol. probably even worse the bigger your app is.
13.
▲
by
jacamat
8y ago
The benefits absolutely do not outweigh the cons. For starters, your CSS can never compile down to a smaller size than component CSS - ever. Because of the nature of compositional classes the plateau of problems expands out almost infinitel
14.
▲
by
jacamat
8y ago
Everytime I see Tailwind/Tachyons/Functional CSS at the top of HN I die a little inside. I've said it before and I'll say it again: if you actually like this kind of CSS, you probably don't work on large websites. A
15.
▲
by
jacamat
8y ago
This is all really terrible advice and my only conclusion is that you have never actually had to maintain websites that use this approach toward CSS as they grow past being a little one off blog into a large, customer facing, PWA. With this
16.
▲
by
jacamat
8y ago
Yes and (moslty) no. Cascading that reaches “outside” of its component to affect other things is bad. So it is all about your approach to the cascade. Most people who have been working on the front end still struggle to grasp the concept of
17.
▲
by
jacamat
8y ago
You’re 100% correct on the cascade being bad and causing incidental breakage. The people downvoting have clearly not run into these problems yet or it would be obvious to them that your reply is in no way wrong, lol
18.
▲
by
jacamat
8y ago
I don’t get why people are still defending this method of CSS. When - or, perhaps I should say 'if' - your webapp has to scale you will realize the enormous amount of problems you’ve created for yourself using this method of CSS.
19.
▲
by
jacamat
9y ago
Unsplash. Just use Unsplash. :D
20.
▲
by
jacamat
9y ago
literally how the press works..
21.
▲
by
jacamat
9y ago
How is it not in their interests?
22.
▲
by
jacamat
9y ago
The comparison to a Gladiator sport is a good one. I see no reason why ESPN/NFL/et al., can't provide comprehensive health insurance to every current & former player for life - as reducing the violence of the sport doesn&
23.
▲
by
jacamat
9y ago
Even if you are fat there’s nothing wrong with butter and cheese. Especially if you are fat, IMO.
24.
▲
by
jacamat
9y ago
Don't know why people think fat is bad in the first place. But then again I have been keto for ~2 years. ¯\_(ツ)_/¯
25.
▲
by
jacamat
9y ago
I believe wind and solar are the best solutions for our future. But many concerns mentioned in this thread are becoming irrelevant in the face of emerging nuclear storage technology. For example, the pebble bed reactor system eliminates the
26.
▲
EagleTree Acquires Majority Stake in Corsair for $525M
(anandtech.com)
1 points
by
jacamat
9y ago
|
0 comments
27.
▲
by
jacamat
10y ago
Reset to factory then unlock...
28.
▲
by
jacamat
10y ago
How do you mean? When you say "misrepresentation." All breeders (in theory) are breeding to the "breed standard," which means if the standard says to breed unhealthy dogs then that's what they do. Because of the exi
29.
▲
by
jacamat
10y ago
I looooooove Dalmatian's. They're so pretty and spotty and different looking. On the other hand, I can't for the life of me figure out why someone in their right mind would buy a bulldog. lol. They slobber and fart and cost a
30.
▲
by
jacamat
10y ago
I think it is unethical to breed brachycephalic dogs. It's merely inconvenient to own them. I don't blame dog owners for not knowing better. I blame dog breeders for knowing better and breeding the dogs anyway. Never say "eth
More ›