Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's mostly a question of what the language considers to be an object.

There's often a stack-/heap-allocated dichotomy. Some languages consider stack-allocated structs not to be objects. They have no reference identity. Assignment has copy semantics. C# is one such language.



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

Search: