8,936 reputation
19 48

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 (307)

Score 87
Posts 29
Posts % 11
Score 57
Posts 21
Score 53
Posts 15
Score 52
Posts 22
Score 37
Posts 14
Score 36
Posts 11

Top Posts (254) All Questions Answers | Votes Newest

View all questions and answers

Badges (67)

Gold
Silver 19

Rarest

Bronze 48

Rarest