• Lysergid@lemmy.ml
    link
    fedilink
    arrow-up
    19
    arrow-down
    2
    ·
    2 months ago

    I guess naming it NullReferenceException will revolutionize industry

    • Blue_Morpho@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      2
      ·
      2 months 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.