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

I didn't know about that either. I find the new keyword useful as it instantly lets me know that I can expect the left-hand operator of the expression to be an object of a class, whereas cont foo = bar("value") doesn't say much about what foo is.


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

Search: