4 ms·
Are you talking about go-style explicit pointers? I don't know if it is worth it to add them with a different semantics and dealing with nulls when you can have
by xfer 6y ago
Are you talking about go-style explicit pointers? I don't know if it is worth it to add them with a different semantics and dealing with nulls when you can have value types with an attribute. Pointers as an abstraction also leak implementation detail.
- gpderetta 6y agoPointers do not need to imply nullability (C++ references are not nullable for example). On the other hand having pointers allows implementing swap().
- xfer 6y agodotnet nowadays does have reference semantics. https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/byrefs https://docs.microsoft.com/en-us/dotnet/fsharp/language-refe...