Apart from objects in-place (like in C++, or structs
in C#) there are pointers and references in Skila. Pointers behave like pointers in C++, but references are just like pointers with one exception — they cannot be null
. In C++ once you assigned reference, it couldn’t be change, so it was more like a alias to object. In Skila it can be reassigned, but one thing you cannot do is this:
my_ref = null.MyClass;
Note: nulls
will be typed in Skila (there is no just null
).