parentheses
#5

Quote:
Originally Posted by Terrorizt
Посмотреть сообщение
I'd rather use this one:
Код:
if(...)
{
    // ...
}
It depends on the condition inside of the if. If condition is simple yea, if condition is better understandable in negated form, use the first solution. Perfomanse is the same, today we have good compilers and they will optimise the code.
Reply


Messages In This Thread
parentheses - by JoshNudock - 30.06.2015, 12:26
Re: parentheses - by darkowner - 30.06.2015, 12:28
Re: parentheses - by Roko_foko - 30.06.2015, 12:28
Re : parentheses - by Terrorizt - 30.06.2015, 12:41
Re: Re : parentheses - by Roko_foko - 30.06.2015, 12:51

Forum Jump:


Users browsing this thread: 1 Guest(s)