Skip to content

Comment on Is Python call-by-value or call-by-reference? Neither.parent

Comments

>My point is writing a blog post saying python is neither call-by-value nor call-by-reference is made up shit

I guess so, in the sense that all of those terms are "made up shit". But they are useful for explaining the concepts.

>The blog post didn't simplify anything for someone who doesn't already understand it. So why not stick with terminology which is used by Java, C#, C among others?

Apparently, as others have pointed out here, the term "call-by-sharing" has largely come into popular use from people explaining how Python works in user groups. That's a strong indication that it actually is a pretty effective way to help newbies understand it.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.