It feels like a really silly question but i just saw some line of code here that ended with a comma ',' and XCode did not complain about an expected ';'
So i fooled around:
float a = 1.0;
float b = 2.0;
float c = 3.0;
a = b, //comma here
c = 4.0;
NSLog(@"%f %f %f",a,b,c);
The result is log is correct, but I am wondering if there is a difference as I sometimes (rarely) seem to miss the shift key when typing a semicolon.
I have read this Use of commas versus semicolons in JavaScript? but it is about javascript and i am not sure if it applies here as well.