Johannes!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago

All of IT in one image

lemmy.ml

message-square
47
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
1

All of IT in one image

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago
message-square
47
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • Scoopta@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    As someone who mostly avoids JavaScript, I don’t see the IT in this image, I just see a bad language I avoid!

    • blackn1ght@feddit.uk
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

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

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        It’s both.

      • copd@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

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

        • rooroo@feddit.org
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

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

      • lad@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        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.uk
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          In my mind a simple unit test should have caught this. Mock out the call to the service that sends the message and verify that it’s been called with the correct message, and cover the possible failure scenarios. That said I hate loosely typed languages lol.

      • Scoopta@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

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

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      I promise you, people make mistakes in every language lol.

    • Log in | Sign up@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I had the exact same reaction.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 121 users / day
  • 304 users / week
  • 1.71K users / month
  • 4.65K users / 6 months
  • 0 local subscribers
  • 26K subscribers
  • 1.21K Posts
  • 26.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org