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

Right, that’s also the case for comma in JS.


So, are you making the case that the examples present are common in JS as well? Because the whole point of the comment was in the uncommon usage of comma operator, as stated in the first sentence.

And to be clear, even if it is common in JS, that still doesn't reduce the usefulness of the original comment, because we aren't talking about JS, we're talking about C, and the commonness of the features notes in the C ecosystem. There are plenty of obscure oft-ignored features on one language that are common in another. For example, taking someone's interesting C macro that allows some level of equivalence to functional map and apply and saying "that isn't very obscure, even lisp has that" is missing the point.


I reckon that most language with grammar inspired in C describes the comma operator.




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

Search: