Meaning & use
declarative
Last updated
Meanings
adjectivebefore a nountechnical
In grammar, describing a sentence that makes a statement instead of asking a question or giving an order.
Grammar: Used before nouns such as sentence or mood: a declarative sentence.
Patterns
- a declarative sentence
The sentence The bus is late is a declarative sentence.
Declarative sentences usually end with a period.
In English, a declarative clause normally puts the subject before the verb.
adjectivebefore a nouncomputingtechnical
In computing, describing code that states the result wanted without spelling out the steps to reach it.
Grammar: Contrasts with imperative: declarative programming describes what, not how.
Patterns
- declarative programming
SQL is a declarative language because you describe the data you want, not how to fetch it.
She prefers a declarative style for the user interface code.
Declarative configuration files are easier to review than long scripts.
nouncountabletechnical
A sentence or statement that simply states a fact or opinion.
Grammar: Short for a declarative sentence.
The teacher asked us to turn each question into a declarative.
His speech was a string of bold declaratives.
Word forms
| plural | declaratives |
|---|
Common combinations
- declarative sentence
- A declarative sentence tells the reader something.
- declarative statement
- She made a firm declarative statement about her plans.
- declarative programming
- Declarative programming focuses on the outcome, not the steps.
- declarative mood
- Most news headlines are in the declarative mood.
- declarative language
- HTML is often described as a declarative language.
Synonyms and how they differ
- assertive
- Assertive describes a confident person or tone, not a sentence type.
- affirmative
- Affirmative means saying yes or agreeing, while declarative simply means stating.
- indicative
- Indicative is the verb mood used for statements of fact, closely linked to declarative sentences but a different grammatical term.
Opposites
Word family
- declare verb
- to state something clearly or officially
- declaration noun
- a formal or firm statement
- declaratively adverb
- in a stating way
Commonly confused: declarative or imperative?
declarative vs imperative
An imperative sentence gives a command, such as Close the door, while a declarative one states a fact.
Practice
Which of these sentences is declarative?
Choose one answer.
The window is open states a fact, so it is declarative. The first is a command, the second a question, and the fourth an exclamation.
Make it your own
Write a sentence using “declarative”, then check it and compare it with the examples above.