Using short-curcuit logical operators
Using short-curcuit logical operators ("&&" and "||") instead of regular ("&" and "!")
Hmm, this is rather obvious and of kind of programing techniques, not the syntax guidelines?
Should we go into busines of teaching people how to program more effecient programs in style guidelines?
[Yes we should eventually write such set of tips, but it will be formed as wiki, not interntionally small style guide]
Let's introduce code best practices repo for this kind of stuff?
понедельник, 14 декабря 2015 г. пользователь Timur Safin написал:
Hmm, this is rather obvious and of kind of programing techniques, not the syntax guidelines?
Should we go into busines of teaching people how to program more effecient programs in style guidelines?
[Yes we should eventually write such set of tips, but it will be formed as wiki, not interntionally small style guide]
— Reply to this email directly or view it on GitHub https://github.com/intersystems-ru/cos-guidelines/issues/10#issuecomment-164371406 .
for example C# guidline also has such rule
I'd rather use Wiki in the same repo for this purpose.