Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by Rochus

1 year ago

Records, arrays and hashmaps are structured types; in contrast to original Oberon, Luon has no pointer type, but reference semantics instead.

2 comments

Rochus

Reply

masklinn  1 year ago

So Luon has reference types and value types, and reference types are always nullable?

  • Rochus  1 year ago

    Yes, but value types are only basic types. Structured types only have reference semantics and are nil by default.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities