• Blue_Morpho@lemmy.world
    link
    fedilink
    arrow-up
    32
    arrow-down
    4
    ·
    10 days 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.

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