Why did programming languages ​​initially use "&&" instead of "and"?

Why do we use "& &" instead of "and" in so many languages? I understand that it has become the standard for programmers, but how did this happen?

+3
source share
2 answers

This decision depends on the language developer, but one reason is that there are two types and- regular and bitwise ( && vs &)

It is more difficult to express the bitwise version using English words

+3
source

Why did programming languages ​​initially use "& &" instead of "and"?

. and: Fortran, Cobol, Algol, Pascal, PL/1, Basic,...

BCPL (B, C, ++), & &&, , Java # . BCPL, , .

APL - .

+1

All Articles