Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
082349872349872
on April 15, 2024
|
parent
|
context
|
favorite
| on:
The origin and virtues of semicolons in programmin...
Many are aware of ; in C but fewer of ,
pavlov
on April 15, 2024
|
next
[–]
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
on April 15, 2024
|
prev
[–]
Fun fact: , in C is what ; is in ML.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: