3 ms·
It's Sapir-Whorf applied to programming: people developed programming constructs that mimic their society structure so while borrow checking may have been devel
by MadcapJake 2y ago
It's Sapir-Whorf applied to programming: people developed programming constructs that mimic their society structure so while borrow checking may have been developed as a response to problems programmers face directly when developing software, they approached the problem by thinking of their programs in ways that mimic a market-based society and developed solutions that reflect market-based society solutions.
Just like Sapir-Whorf, likely the influence of our society isn't as pronounced as they're suggesting but there's likely a grain of truth that many people approach problems by using ideas from their collected experiences. Similarly, approaching problems in different ways from what we're used to can also be equally challenging due to our lack of prior experience.
- James_K 2y agoThey just used a common word that was vaguely applicable to an almost entirely unrelated abstract system of object lifetime verification. Ownership has basically the same semantics as C++'s destructors and moves, just enforced statically. It isn't people looking to the real world for a real-world solution for programming problems.