Answer the question
In order to leave comments, you need to log in
Do you put curly braces?
I understand the question is strange, but I don’t know what is better when you need to perform one action with a condition.
For example:
if(any)
{
// строка кода
}
if(any)
// строка кода
Answer the question
In order to leave comments, you need to log in
The rule of good form is the setting of curly braces in any case. For inspiration, you can read this article: The exceptional beauty of Doom 3 source code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question