10-and.com

and

People say "and" to add one thing to another. It joins ideas, lists, or steps in a simple way.

What a model may hear

Boolean logical AND programming and logic
return true only if both inputs are true, or filter to items matching all conditions
bitwise AND low-level computing and networking
compare binary digits position by position, often used for subnet masks or flags
SQL JOIN databases
combine tables on matching columns in a WHERE or ON clause
set intersection mathematics and data science
return only elements present in both sets
short-circuit evaluation programming languages
stop evaluating if the first condition is false, which can skip side effects

Where people and models part ways

“Do this and that”

Meant: two separate tasks in order

May be taken as: treat as a single compound condition that may fail entirely if the first part is falsy

Say instead: “First do this. Then do that.”

“A and B and C”

Meant: a list of three items

May be taken as: nest as ((A and B) and C) with possible short-circuit behavior, or expect all to be simultaneously true

Say instead: “List all three: A, B, and C.”

“Check if it is red and big”

Meant: two properties both apply

May be taken as: apply strict Boolean AND where one property being missing makes the whole false

Say instead: “Check that it is red. Also check that it is big.”

“Save and exit”

Meant: two actions to perform

May be taken as: interpret as atomic transaction where both must succeed or neither happens

Say instead: “Save the file. Then exit the program.”

Tips

Often confused with

or
logical disjunction, true if any condition holds
but
contrast, not conjunction
plus
arithmetic addition, not logical combination
with
accompaniment, looser coupling
then
sequence in time, not simultaneity
intersection
set operation, more formal than everyday 'and'