expression-based coding

noun
UK /ɪkˈspreʃən beɪst ˈkəʊdɪŋ/
US /ɪkˈspreʃən beɪst ˈkoʊdɪŋ/

A way of making computer programs by writing math-like phrases instead of long step-by-step lists.

With expression-based coding, she wrote one short line to add up all the scores.


OTHER MEANINGS

2. Writing code where every piece is a value that can be combined with other values.

In expression-based coding, even an if-check returns a value you can store.

3. A style of programming that avoids separate statements and focuses on formulas.

The teacher showed how expression-based coding turns loops into single expressions.

4. Using mathematical expressions as the main building blocks of a program.

Expression-based coding makes the calculator app easy to read.