8,650 reputation
19 47

rwong

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.

Top Tags (309)

Score 86
Posts 29
Posts % 12
Score 55
Posts 21
Score 50
Posts 24
Score 47
Posts 9
Score 39
Posts 15
Score 39
Posts 13

Top Posts (252) All Questions Answers | Votes Newest

View all questions and answers

Badges (66)

Gold
Silver 19

Rarest

Bronze 47

Rarest