Hacker News new | past | comments | ask | show | jobs | submit login

> That is, if you have a reference to an object or value, you have the authority to invoke any of the methods on that object or call any functions that accept such a value.

Except private methods, right? That's where I feel that this analogy breaks down




Yes, you can only invoke the publicly interface of an object. It's not an analogy, object references really are capabilities.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: