← Back to context Comment by akkartik 1 year ago What's a structured type? Something that has fields or elements? 3 comments akkartik Reply 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. 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.
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. 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.
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.
Rochus 1 year ago Yes, but value types are only basic types. Structured types only have reference semantics and are nil by default.
Records, arrays and hashmaps are structured types; in contrast to original Oberon, Luon has no pointer type, but reference semantics instead.
So Luon has reference types and value types, and reference types are always nullable?
Yes, but value types are only basic types. Structured types only have reference semantics and are nil by default.