Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. centerDiv.js

centerDiv.js

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
56 Posts 39 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • trickdacy@lemmy.worldT This user is from outside of this forum
    trickdacy@lemmy.worldT This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #12

    JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

    M zea_64@lemmy.blahaj.zoneZ D 3 Replies Last reply
    12
    • B This user is from outside of this forum
      B This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #13

      Most pages don’t need dynamic loading.

      anunusualrelic@lemmy.worldA 1 Reply Last reply
      31
      • trickdacy@lemmy.worldT [email protected]

        JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

        M This user is from outside of this forum
        M This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #14

        jQuery got popular because Internet Explorer, Firefox, Chrome and other browsers weren’t exactly cross compatible. Writing vanilla JS was risky business in that sense.

        It also supported AJAX across all major browsers, which meant the website could make API requests without reloading the entire page. It was super revolutionary to press a button and it only changed a part of the page.

        Then Angular and React took it a step forward and that’s where we are now.

        trickdacy@lemmy.worldT 1 Reply Last reply
        9
        • M [email protected]

          jQuery got popular because Internet Explorer, Firefox, Chrome and other browsers weren’t exactly cross compatible. Writing vanilla JS was risky business in that sense.

          It also supported AJAX across all major browsers, which meant the website could make API requests without reloading the entire page. It was super revolutionary to press a button and it only changed a part of the page.

          Then Angular and React took it a step forward and that’s where we are now.

          trickdacy@lemmy.worldT This user is from outside of this forum
          trickdacy@lemmy.worldT This user is from outside of this forum
          [email protected]
          wrote on last edited by [email protected]
          #15

          I am very aware of the progression. But you're vastly glossing over how much complexity (and feature set) was added after jQuery. If JavaScript sucks, how would you change it? Shitty browsers implementing it poorly in the past (and safari doing so today) doesn't make it suck.

          1 Reply Last reply
          4
          • sevon@lemmy.kde.socialS [email protected]

            You can wrap everything in unsafe and keep living dangerously!

            E This user is from outside of this forum
            E This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #16

            unsafe doesn't deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.

            sevon@lemmy.kde.socialS 1 Reply Last reply
            0
            • trickdacy@lemmy.worldT [email protected]

              JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

              zea_64@lemmy.blahaj.zoneZ This user is from outside of this forum
              zea_64@lemmy.blahaj.zoneZ This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #17

              Immediate mode rendering and components seem to be why people use them. And you know what? The web should natively support those but doesn't (well it kinda bad components, but ehhh). Otherwise I agree, the frameworks are overcomplicated.

              1 Reply Last reply
              0
              • Q [email protected]

                Yew* Rust

                FTFY

                B This user is from outside of this forum
                B This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #18

                Nah, they had it right

                Q 1 Reply Last reply
                4
                • B [email protected]

                  Nah, they had it right

                  Q This user is from outside of this forum
                  Q This user is from outside of this forum
                  [email protected]
                  wrote on last edited by [email protected]
                  #19

                  Knew someone would say that, lol, gold project, sad that it's gone unmaintained and my man started working on home-manager at home
                  ..wait

                  1 Reply Last reply
                  3
                  • S [email protected]
                    div {
                      display: grid;
                      place-content: center;
                    }
                    

                    We've come a long way...

                    C This user is from outside of this forum
                    C This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #20

                    You misspelled nesting tables

                    W 1 Reply Last reply
                    6
                    • anunusualrelic@lemmy.worldA This user is from outside of this forum
                      anunusualrelic@lemmy.worldA This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #21

                      It's still Javascript.

                      1 Reply Last reply
                      3
                      • B [email protected]

                        Most pages don’t need dynamic loading.

                        anunusualrelic@lemmy.worldA This user is from outside of this forum
                        anunusualrelic@lemmy.worldA This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #22

                        My menus need to be dynamically reloaded!

                        1 Reply Last reply
                        4
                        • N [email protected]

                          got it from here https://front-end.social/@elly/114668957184577014

                          flamekebab@piefed.socialF This user is from outside of this forum
                          flamekebab@piefed.socialF This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #23

                          I was so pleased when a brief for a thing at work was "no frameworks".

                          1 Reply Last reply
                          7
                          • trickdacy@lemmy.worldT [email protected]

                            JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

                            D This user is from outside of this forum
                            D This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #24

                            people love over engineering the fuck out of technology

                            Exhibit A: 2.85 Million packages, as of mid-2023

                            trickdacy@lemmy.worldT 1 Reply Last reply
                            1
                            • S [email protected]
                              div {
                                display: grid;
                                place-content: center;
                              }
                              

                              We've come a long way...

                              D This user is from outside of this forum
                              D This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #25

                              The collective man-hours this would have saved people, if we had it back in 1999, would be staggering.

                              1 Reply Last reply
                              8
                              • N [email protected]

                                got it from here https://front-end.social/@elly/114668957184577014

                                M This user is from outside of this forum
                                M This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #26

                                Damn that's some spicy takes lol.

                                1 Reply Last reply
                                2
                                • N [email protected]

                                  got it from here https://front-end.social/@elly/114668957184577014

                                  B This user is from outside of this forum
                                  B This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #27

                                  React sucks and is way way way overdone and ill die on that hill

                                  1 Reply Last reply
                                  2
                                  • N [email protected]

                                    got it from here https://front-end.social/@elly/114668957184577014

                                    C This user is from outside of this forum
                                    C This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #28

                                    Obligatory https://justfuckingusehtml.com/

                                    A C mitm0@lemmy.worldM 3 Replies Last reply
                                    34
                                    • N [email protected]

                                      got it from here https://front-end.social/@elly/114668957184577014

                                      B This user is from outside of this forum
                                      B This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #29

                                      Wait until you see what they do to avoid learning SQL or Regex or JSON Pointer or XPath.

                                      icastfist@programming.devI P A 3 Replies Last reply
                                      9
                                      • D [email protected]

                                        people love over engineering the fuck out of technology

                                        Exhibit A: 2.85 Million packages, as of mid-2023

                                        trickdacy@lemmy.worldT This user is from outside of this forum
                                        trickdacy@lemmy.worldT This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #30

                                        Unless those are mostly overly complicated, it doesn't speak to what I'm saying. But I guess it means people like doing their own engineering better than relying on others

                                        1 Reply Last reply
                                        0
                                        • Y [email protected]

                                          OP, I don't think you've correctly linked to the post (when I visit the linked webpage, the browser tries to download an ActivityPub activity instead of showing the post in the Mastodon web UI). Please replace the link with this one.

                                          N This user is from outside of this forum
                                          N This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #31

                                          got it, my bad

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups