Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oxidant
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
61.
▲
by
oxidant
2y ago
Not saying you're wrong about the pronunciation, but "jot" is the suggested pronunciation, not the required one [0]. I used "jay double-you tee" for a long time and it doesn't bother me how people pronounce it.
62.
▲
by
oxidant
2y ago
IMO deleted_at, either with null or epoch as the "not deleted" value is nicer than is_deleted because it allows some level of auditing.
63.
▲
by
oxidant
2y ago
Agreed. It's just syntax, similar to implicit keywords (mentioned already) and & anonymous functions[0]. Pattern matching a large number of items off a map is verbose. Putting many new keys in a map can be verbose if they're e
64.
▲
by
oxidant
3y ago
You can write a using macro to automatically create a behaviour from specs in a module with https://hexdocs.pm/elixir/Module.html#spec_to_callback/2 It's been a minute but I've done it. The behaviour
65.
▲
by
oxidant
3y ago
I guess I don't see how you lose the cascade by using Tailwind. It doesn't lock you out of defining your own classes or hierarchy. .frontpage h1 or .frontpage .main-heading is going to have more specificity than .text-xl.
66.
▲
by
oxidant
3y ago
> ...I have to do a sweeping change to those buttons. Why aren't those buttons encapsulated in reusable components or templates? What sorts of changes do you need to make where this is an issue?
67.
▲
by
oxidant
3y ago
I think it's important to add to the article. Like I said, the one bit of CSS you added is nowhere near the functionality of the Tailwind example you were comparing it to. Without an apples to apples comparison showing _how_ Tailwind s
68.
▲
by
oxidant
3y ago
One thing I would like to see is a re-implementation of the button in your style of CSS to strengthen your position. I'm not siding with either approach, I just think it would make the article better. Your, "don't make things