• Flamekebab@piefed.social
    link
    fedilink
    English
    arrow-up
    46
    arrow-down
    1
    ·
    1 month ago

    I have to use Bootstrap at work and I’m really not a fan. It’s somehow more work than writing CSS from scratch.

    • Trailblazing Braille Taser@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      26
      arrow-down
      1
      ·
      1 month ago

      I don’t do much frontend work these days, but years ago, it felt like the defining feature of Bootstrap was the 12-column layout. Sure, it had fun buttons and other components, but the ability to trivially define multi-column layout without ripping your hair out was its raison d’être.

      Now that we have flexbox, I’m not sure anyone needs Bootstrap.

      • bleistift2@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        17
        ·
        1 month ago

        It also has lots of UI widgets like collapsing elements, modals and alerts. Sure, you could code all these by hand, but why bother?

        • Flamekebab@piefed.social
          link
          fedilink
          English
          arrow-up
          11
          ·
          1 month ago

          Mainly because I already understand CSS and HTML and having to learn their way of doing things is extra work and overhead.

        • somegeek
          link
          fedilink
          arrow-up
          4
          arrow-down
          2
          ·
          1 month ago

          All the elements you mentioned are natove HTML elements that don’t need any library.

          • refalo
            link
            fedilink
            arrow-up
            5
            ·
            1 month ago

            many native elements either do not function like people want or cannot be styled the same

              • bleistift2@sopuli.xyz
                link
                fedilink
                English
                arrow-up
                4
                ·
                1 month ago

                I was going to list a whole bunch of things the DETAILS tag doesn’t allow, but it seems that none of these issues actually appear. So either it has evolved since I’ve looked at it last time or I was stupid.

                Either way, thanks for talking back.

        • Lemminary@lemmy.world
          link
          fedilink
          arrow-up
          3
          arrow-down
          2
          ·
          1 month ago

          We have better alternatives today as well and still I see people choosing Bootstrap and violently cringe.

    • refalo
      link
      fedilink
      arrow-up
      10
      ·
      1 month ago

      I’m a huge fan of bootstrap and I feel that writing CSS from scratch is much harder.

        • runeko
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          “… I don’t like disliking it.” You and I have very different life experiences.

          • Flamekebab@piefed.social
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 month ago

            There’s a lot of things I detest - bananas, generic medieval fantasy settings, reality TV. My life isn’t better for disliking them, it’s just the unfortunate reality of my character.

            • runeko
              link
              fedilink
              arrow-up
              2
              ·
              1 month ago

              Agreed. My life is also not better for disliking things, but I really LIKE disliking those things.

    • etchinghillside@reddthat.com
      link
      fedilink
      arrow-up
      8
      ·
      1 month ago

      I’m kind of surprised to see its name. Was fairly widespread back in angular/backbone days – I kind of assumed all the useful stuff from it got adopted natively as I haven’t really heard any frontend teams I’ve worked with over the recent years mention it.

      • WanderingVentra@lemm.ee
        link
        fedilink
        arrow-up
        7
        ·
        1 month ago

        I used it a little in a recent project, but I’m mostly a backend dev and am new to front end. When I Googlef how to make stuff pretty or improve UI, a lot of results were still related to Bootstrap, probably because it was so ubiquitous for so many years.

      • Flamekebab@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        I honestly just find the extra layers to make it harder for me to know what my code is doing. I’d rather set proper CSS margin-bottom than mb-1. Having to learn the Bootstrap way of doing things when I already know the traditional way mostly feels like a waste of my time. It’s not, but it’s hard to stay engaged when I can already do a thing in a more standardised way.

        Kind of like a site I’ve been stripping the jQuery out of. You don’t need that to show/hide a couple of form fields, FFS. Or the special JS library for doing pop overs. Come on, there’s three fields on the entire website that use them, just use HTML5 popovers.

        I imagine Bootstrap is probably more useful for stuff where more complex layouts are needed, or when a site needs to be more responsive to different browser shapes (as in desktop vs. various mobile form factors).

    • thesmokingman
      link
      fedilink
      arrow-up
      13
      ·
      1 month ago

      Strange; the page is shilling for a product that doesn’t use raw HTML for its site.

    • Luci@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 month ago

      Aside from the misguided part about AI, this is hilarious!

    • ulterno
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 month ago

      I had been looking for how to add Expandable sections using HTML.

      Couldn’t find it when I googled it.
      Now, after almost a year of having given up, found it.

    • Dragon@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 month ago

      Ok the wild thing is when I open this website in my Lemmy app it doesn’t display most of the text… There is a white background instead of black, so the white text doesn’t display.

    • xttweaponttx@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      As someone working on wrapping up my bachelor’s in software engineering… Yeah… Fuck frameworks.

      Everything I’ve been taught thus far has been nice, neat, logical code that has been explained completely. How does memory get allocated for that string? What exactly is a memory stack? How do pointers work? It all just made sense.

      Then I get to the last 10 classes of my degree, and as a prerequisite for the last 9 I got treated to “java frameworks”. The classwork essentially teaches me to explicitly ignore how the framework accomplishes the end result, and to instead focus on memorizing bullshit one-line commands that are specific to whatever jackass framework I’m working in.

      I’ve spent like 3 weeks straight watching crash course after crash course, trying to find anyone that actually explains the fundamentals of frameworks. Best I could find was an explanation of MVC (model/view/control), but I still don’t see how all that bullshit is easier that writing your own code!!

      Fuck frameworks.