expression-oriented programming

noun
UK /ɪkˈspreʃən ˈɔːriəntɪd ˈprəʊɡræmɪŋ/
US /ɪkˈspreʃən ˈɔriəntɪd ˈproʊɡræmɪŋ/

A way of writing computer programs where almost everything you write gives back a value.

In expression-oriented programming, even an if-statement can hand you a result.


OTHER MEANINGS

2. A coding style where blocks of code produce values instead of just doing actions.

The language's expression-oriented programming makes chaining operations feel natural.

3. A design choice in a language that treats constructs like conditionals as expressions.

Thanks to expression-oriented programming, the match block returns a string directly.

4. An approach that reduces the need for temporary variables by returning values everywhere.

She refactored the function using expression-oriented programming to remove extra assignments.