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. All of IT in one image

All of IT in one image

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
52 Posts 40 Posters 0 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.
  • glorkon@lemmy.worldG [email protected]

    I'm an old fuck and I started to code in the late 80s.
    Fast forward 30 years, I once had to work at a WeWork. One day, directly outside of my small office space, I swear to god, a fucking hipster kid with a Macbook under his arm practiced skateboard moves. That was the exact moment I started hating working in IT. It's also what I think every Javascript coder looks and acts like.

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

    Youngsters these days, uh?

    Now grandpa, time to take your medicine

    1 Reply Last reply
    1
    • dohpaz42@lemmy.worldD [email protected]

      Must be from the NPM delivery service. The recipient is lucky the driver didn’t give them thousands of dependencies too.

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

      "I got a package from Jason"

      A 1 Reply Last reply
      17
      • cm0002@lemmy.worldC [email protected]
        This post did not contain any content.
        A This user is from outside of this forum
        A This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #23

        Is it a threat?

        1 Reply Last reply
        7
        • dohpaz42@lemmy.worldD [email protected]

          Must be from the NPM delivery service. The recipient is lucky the driver didn’t give them thousands of dependencies too.

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

          Ah sweet, my left-pad is coming today!

          1 Reply Last reply
          6
          • matty_r@programming.devM [email protected]

            I actually wish skateboards made a come back. Much more preferable over the escooters I see around a lot.

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

            Yeah but no handle so you're much more likely to eat shit when you go down a slope or something.

            matty_r@programming.devM 1 Reply Last reply
            1
            • blackn1ght@feddit.ukB [email protected]

              This isn't the languages fault, it's the developers.

              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
              #26

              besides NaN actually being a number, this could completely and easily be avoided with typescript.

              R 1 Reply Last reply
              3
              • K [email protected]

                Yeah but no handle so you're much more likely to eat shit when you go down a slope or something.

                matty_r@programming.devM This user is from outside of this forum
                matty_r@programming.devM This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #27

                Yea, it takes actual skill to use them ha ha

                1 Reply Last reply
                0
                • M [email protected]

                  The Javascript literal interpretation of NaN never fails to amuse me.

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #28
                  "a"+"b" -> "ab"
                  "a"-"b" -> NaN
                  
                  M 1 Reply Last reply
                  1
                  • E [email protected]

                    Guess why he came with a truck and not on a cargo bike...

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

                    Because you forgot to tell them that you already have the dependencies at home?

                    1 Reply Last reply
                    2
                    • V [email protected]

                      I'm no acupuncturist, but I'm pretty sure that it's SUPPOSED to say "naan minutes", which is time spent enjoying delicious Indian flatbread.

                      I guess you just eat your naan and then your ride arrives to ask you if you have any leftovers? 🤷

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

                      But what does that have to do with acupuncture?

                      1 Reply Last reply
                      1
                      • F [email protected]

                        NaN minutes later, a truck arrives in the alley, its license plate reads "undefined". Someone gets out of the vehicle
                        "I have something for you"
                        He gives you a package. You open it. It's an [object Object]

                        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
                        #31

                        "I've been looking for you! Got something I'm supposed to deliver. Your hands only."

                        1 Reply Last reply
                        16
                        • cm0002@lemmy.worldC [email protected]
                          This post did not contain any content.
                          T This user is from outside of this forum
                          T This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #32

                          Wait until Null opens the door

                          B null@slrpnk.netN 2 Replies Last reply
                          11
                          • C [email protected]

                            besides NaN actually being a number, this could completely and easily be avoided with typescript.

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

                            Naaah. Good programmers know how to use as any as any to make this work in typescript as well.

                            1 Reply Last reply
                            4
                            • T [email protected]

                              Wait until Null opens the door

                              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
                              #34

                              segmentation fault

                              1 Reply Last reply
                              2
                              • S [email protected]
                                "a"+"b" -> "ab"
                                "a"-"b" -> NaN
                                
                                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
                                #35

                                Yeah:

                                parseInt("a") -> NoT a NuMbEr
                                
                                S 1 Reply Last reply
                                0
                                • blackn1ght@feddit.ukB [email protected]

                                  This isn't the languages fault, it's the developers.

                                  scoopta@programming.devS This user is from outside of this forum
                                  scoopta@programming.devS This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #36

                                  I'm assuming by this you mean the developers of JS /s

                                  1 Reply Last reply
                                  0
                                  • M [email protected]

                                    Yeah:

                                    parseInt("a") -> NoT a NuMbEr
                                    
                                    S This user is from outside of this forum
                                    S This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #37

                                    Sure, but the main issue here is that JS doesn't only auto cast to more generic but in both directions.

                                    Maybe a better example is this:

                                    "a" + 1 -> "a1"
                                    "a" - 1 -> NaN
                                    

                                    With + it casts to the more generic string type and then executes the overloaded + as a string concatenation.

                                    But with - it doesn't throw an exception (e.g. something like "Method not implemented"), but instead casts to the more specific number type, and "a" becomes a NaN, and NaN - 1 becomes NaN as well.

                                    There's no situation where "a" - "b" makes any sense or could be regarded as intentional, so it should just throw an error. String minus number also only makes sense in very specific cases (specifically, the string being a number), so also here I'd expect an error.

                                    If the programmer really wants to subtract one number from another and one or both of them are of type string, then the programmer should convert to number manually, e.g. using parseInt("1") - parseInt("2").

                                    1 Reply Last reply
                                    1
                                    • blackn1ght@feddit.ukB [email protected]

                                      This isn't the languages fault, it's the developers.

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

                                      Albeit true, I want to note that some languages encourage such practices way more than others do. Also, when you've got a hammer everything looks like a string nail.

                                      blackn1ght@feddit.ukB 1 Reply Last reply
                                      2
                                      • blackn1ght@feddit.ukB [email protected]

                                        This isn't the languages fault, it's the developers.

                                        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
                                        #39

                                        It's both.

                                        1 Reply Last reply
                                        1
                                        • B [email protected]

                                          You wouldn't want your code throw an exception

                                          jackbydev@programming.devJ This user is from outside of this forum
                                          jackbydev@programming.devJ This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #40

                                          [object Object]

                                          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