-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About: "if","else","for","while","switch" etc... #60
Comments
Yeah, "structure" seems like a weird word to use here.
These are not operators (like |
I dont know why, but in any Russian sources "statement" is translated as "оператор" = "operator". May be this is translation error. https://docs.microsoft.com/ru-ru/cpp/cpp/if-else-statement-cpp?view=msvc-170 However, it does not matter. About combining keywords into one line, I think it's not worth to doing this. For students, better if they should be visible all in one list. What if we use "keyword" word? For example:
"Main constructions" i.e. - branching (if,switch) and cycles(for,while,do-while,repeat). |
I would also like to keep them in separate lines. "Keyword" seems ok to use here, albeit it is a bit generic. On the other hand, beginning every description with "Keyword for" seems a little silly to me as it doesn't convey any new or useful information. This repetition indicates to me that it could be dropped completely and we should leave only the part after "for".
This looks much better IMHO. The goal is to have better one-line descriptions for each keyword and remove the misleading "structure" word. |
I will clarify. "sizeof" and "new" is really unary operators http://candcplusplus.com/c-operator-precedence-and-associativity as "+","&&",">" etc. |
Why operators:
if, else, for, while, switch
calls as structure?
colobot-data/help/generic/po/generic.pot
Lines 537 to 544 in 21a45c0
And i thing "if" is compare operator. Choiсe operator is "switch"
The text was updated successfully, but these errors were encountered: