3 ms·
Returning references to storage within the map would be a substantial footgun without borrowing.
by morelisp 3y ago
Returning references to storage within the map would be a substantial footgun without borrowing.
- scottlamb 3y agoThanks, useful reply. I just realized that myself: https://news.ycombinator.com/item?id=37576558 https://news.ycombinator.com/item?id=37576558 The peer comments along the lines of "the expecation is it does what it does" are not so helpful from a perspective of learning to write code that is in harmony with the language philosophy.