You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So in C, if you have two commands separated by a semicolon, they can be on the same line with no problem.
Ie:
int x; x=10; printf(x)
Is three separate commands.
I propose that, as this language is based on plain English text, that we use a full stop, and each command is treated like a sentence:
Make x equal to 10. Show x.
Python of course achieves this by forcing each command to be on a separate line.
The text was updated successfully, but these errors were encountered:
So in C, if you have two commands separated by a semicolon, they can be on the same line with no problem.
Ie:
int x; x=10; printf(x)
Is three separate commands.
I propose that, as this language is based on plain English text, that we use a full stop, and each command is treated like a sentence:
Make x equal to 10. Show x.
Python of course achieves this by forcing each command to be on a separate line.
The text was updated successfully, but these errors were encountered: