minus-squarebeeb@lemmy.ziptoProgrammer Humor@programming.dev•Learning to program in rustlinkfedilinkarrow-up2·edit-26 hours agoEven 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. linkfedilink
minus-squarebeeb@lemmy.ziptoProgrammer Humor@programming.dev•[ComiCSS] Benefits of Tailwindlinkfedilinkarrow-up1·6 hours ago😁 To each their own I guess linkfedilink
minus-squarebeeb@lemmy.ziptoProgrammer Humor@programming.dev•[ComiCSS] Benefits of Tailwindlinkfedilinkarrow-up0·5 days agoI like daisyUI because it doesn’t have any Javascript linkfedilink
minus-squarebeeb@lemmy.ziptoProgrammer Humor@programming.dev•[ComiCSS] Benefits of Tailwindlinkfedilinkarrow-up5·edit-26 days agoA 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 linkfedilink
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.