Let’s reinvent java bytecode but… different

  • hydroptic
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    9 months ago

    I think having null is great in some cases where you need to represent missing value.

    Option types or sum types would probably be a much less terrible choice for this, although I guess some sort of nullable keyword counts as a sum type

    • magic_lobster_party@kbin.run
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      9 months ago

      Well, anything that can be captured at compile time or by the IDE is infinitely better than the situation we have today.

      • hydroptic
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        9 months ago

        Ha yeah, just about anything is better than the current status quo