Skip to content

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

Comments

That's confusing the language specification with one of its implementations. In Jython, for example, objects are not "just pointers".

no, they are still just pointers. they might be pointers to something fancier than a struct of its instance variables and abstracted by java's object system but in the end it's still a pointer

AboutSource Built by g1lg1l

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