non-imperative programming

noun
UK /nɒn ɪmˈpɛrətɪv ˈprəʊɡræmɪŋ/
US /nɑn ɪmˈpɛrətɪv ˈproʊɡræmɪŋ/

A way of writing computer programs where you tell the computer what you want, not step by step how to do it.

She prefers non-imperative programming because she can describe the result she wants without listing every instruction.


OTHER MEANINGS

2. A programming style that avoids explicit statements that change program state.

Non-imperative programming often avoids loops and assignments in favor of expressions.

3. A paradigm where programs are built from declarations and rules rather than commands.

SQL is a well-known example of non-imperative programming.

4. An approach to coding that emphasizes what to compute rather than how to compute it.

Teaching non-imperative programming helps students think about problems more abstractly.