8,630 reputation
4 8

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

Score 4
Posts 7
Posts % 70
Score 3
Posts 2
Score 3
Posts 1
Score 2
Posts 3
Score 0
Posts 4
Score 0
Posts 2

Top Posts (10) All Questions Answers | Votes Newest

Badges (12)

Gold
Silver 4

Rarest

Bronze 8

Rarest