beeb

joined 1 month ago
[โ€“] beeb@lemmy.zip 1 points 2 hours ago* (last edited 2 hours 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 1 points 2 hours ago

๐Ÿ˜ To each their own I guess

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

I like daisyUI because it doesn't have any Javascript

[โ€“] beeb@lemmy.zip 5 points 5 days ago* (last edited 5 days ago) (8 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