Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Is it okay to use 'and' instead of '&&' in code?

Правка en1, от banta, 2019-01-27 22:25:28

I have been using 'and' for '&&' and 'or' for '||' recently and they seem to work just as good as the symbols. And they are also faster to type for me and i feel it makes the code more readable.

Is there any difference between them?

Is to recommended to use && and ||, if yes why?

Why don't top coders use them?

Теги #codeforces, #help, #beginner, #logic

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский banta 2019-01-27 22:25:28 369 Initial revision (published)