beeb

joined 1 month ago
[โ€“] beeb@lemmy.zip 6 points 2 days ago* (last edited 2 days ago)

Even better to use expect with a short message of what the assumption is: "the string should contain a comma" if it ever panics you'll know exactly why.

[โ€“] beeb@lemmy.zip 2 points 2 days ago (1 children)

๐Ÿ˜ To each their own I guess

[โ€“] beeb@lemmy.zip 0 points 1 week ago (4 children)

I like daisyUI because it doesn't have any Javascript

[โ€“] beeb@lemmy.zip 5 points 1 week ago* (last edited 1 week ago) (9 children)

A lot of ui frameworks are based on tailwind and allow you to customize the components with more tailwind. It's really a win because:

  • it's not "just inline classes", it's a design system (spacing, colors, breakpoints etc are well structured and not random)
  • it is way less verbose than vanilla css and easier to remember