HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by 082349872349872 | Hacker News Reader
Full thread
082349872349872
·
Many are aware of ; in C but fewer of ,
View on HN
pavlov
·
The for loop statement is maybe the likeliest place to encounter the comma operator. E.g. if you wanted to increment two values:
for (x=0, y=100; x<10; x++, y+=20)
GrumpySloth
·
Fun fact: , in C is what ; is in ML.
Reply on news.ycombinator.com