8,086 reputation
bio website
location Los Angeles, CA
visits member for 4 years, 8 months
seen May 15 at 9:32

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.

26 Votes Cast

all time   by type  
26 up 12 question
0 down 14 answer