I am completely certain that if I proposed deref coercions today there would be a crowd up in arms about how important it is that they know that the address-of and period operators don't run arbitrary code.
-
-
Note that I’m not suggesting that Deref be expanded to allow returning non-references. Rather I’m pointing out that Deref’s design is *already* very conservative. Deref was an exercise in language design *restraint*, from my point of view.
-
This quickly becomes the language-vs-libraries thing; it's a long enough topic not to bother revisiting, esp. as I (broadly) lost. I am of course glad for what conservatism Deref has, though I (perhaps wrongly?) read boats' point here as to frame such conservatism as excessive.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.