3 ms·
Yea, I think references to other values should be a type, like a `Reference[T]`. Then you can pass something by reference, rather than value, without having con
by ok_dad 4y ago
Yea, I think references to other values should be a type, like a `Reference[T]`. Then you can pass something by reference, rather than value, without having confusing referencing/dereferencing. A `Reference[T]` could have some sort of element reflection, where you can just use it like it's a `T`.
Pointers, referencing, dereferencing; that can get confusing even for skilled engineers.