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

Those are both perfectly reasonable to me. There are in fact languages that would interpret your example #1 incorrectly, so if someone wants to disambiguate I have no qualms. Your example #2 is sort of braindead, but in a more complicated expression, where 2 3 or 1 were method calls or something, I would appreciate the parens.


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

Search: