Dictionary entry
cond
Last updated
Meaning
adjectivebefore a nouninformalcomputing
Short for conditional; depending on a certain condition being met.
Grammar: Used before a noun, e.g., 'a cond statement'. It is not used after a verb like 'be'.
Patterns
- cond statement
- cond expression
In this code, the cond branch runs only if the user is logged in.
He wrote a cond loop that checks the temperature every second.
Common combinations
- cond statement
- The compiler optimizes the cond statement to run faster.
- cond expression
- A cond expression evaluates to true or false.
- cond branch
- The cond branch is taken when the input is valid.
Synonyms and how they differ
- conditional
- The full form is used in all registers; 'cond' is a clipped form found mostly in code and technical notes.
Word family
- condition noun
- A situation or state that must exist for something else to happen.
- conditional adjective
- Depending on something else; not absolute.
Commonly confused: cond or con?
cond vs con
A different word meaning 'against' or 'trick'; 'cond' is short for 'conditional'.
Practice
In programming, what does 'cond' usually stand for?
Choose one answer.
In technical contexts, 'cond' is a clipping of 'conditional'. 'Condition' is a noun, but 'cond' is used as an adjective before nouns like 'statement' or 'branch'.
Make it your own
Write a sentence using “cond”, then check it and compare it with the examples above.