• Blue_Morpho@lemmy.world
    cake
    link
    fedilink
    arrow-up
    31
    arrow-down
    3
    ·
    23 hours ago

    nullpointerexception is more likely the developper’s fault

    Of course it was the developer’s fault. But it’s absurd a language without pointers throws an error about pointers.

    • Lysergid@lemmy.ml
      link
      fedilink
      arrow-up
      17
      arrow-down
      2
      ·
      22 hours ago

      I guess naming it NullReferenceException will revolutionize industry

      • Blue_Morpho@lemmy.world
        cake
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        19 hours ago

        Having error messages that match the language is actually helpful. A reference and a pointer aren’t exactly the same.

        Like if Rust output “invalid word size” on a type mismatch.