8,071 reputation
1845
bio website
location Los Angeles, CA
age
visits member for 4 years, 8 months
seen 4 hours ago

The traditional notion of object ownership via function call (i.e. where it is unconditionally and unquestionably assumed that the caller must own the object throughout the call, and the callee merely "borrows" from it) is detrimental to memory usage if the object passed via the call needs to be released early, in the middle of the call.

In the past, I may have blamed it on other things, but now I see it this way. And this faulty dogma is pandemic; I can't think of any language that escapes from it.


Apr
22
awarded  Nice Answer
Apr
12
awarded  Revival
Apr
4
awarded  Nice Answer
Mar
15
awarded  Revival
Mar
6
awarded  Notable Question
Feb
10
awarded  Sportsmanship
Nov
25
awarded  Nice Answer
Sep
24
awarded  Autobiographer
Sep
11
awarded  Necromancer
Sep
9
awarded  Yearling
Sep
1
awarded  Nice Question
Jul
30
awarded  Popular Question
Jul
2
awarded  Curious
Jul
1
awarded  Enlightened
Jun
12
awarded  Nice Answer
May
28
awarded  Enlightened
May
27
awarded  Nice Answer
Dec
16
awarded  Popular Question
Dec
4
awarded  Nice Answer
Sep
17
awarded  Popular Question