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

Or a different way to look at it is that if you put two things together, the mathematical operation is not always "+"; it totally depends on the things (and how you put them together). You use plus if you put together fractions of the same thing (e.g. fractions of the same box of crayons), but potentially some totally other operation if you put together different things.



Someone mentioned on this thread using CS to teach math. What you have just described here is the fact that the + operator can be overloaded.

Wonder if the kids can grasp that concept though.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: