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

The way I had it explained to me I always really liked. We spent a long time on very simple things: logic, control flow, functions, variables. Then, after learning that and all the limitations of those tools, my teacher said: "an object is something that can contain functions and data. In fact, in many languages, functions and variables are both objects."

At least that's how I remember it.



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

Search: