function-first programming

noun
UK /ˈfʌŋkʃən fɜːst ˈprəʊɡræmɪŋ/
US /ˈfʌŋkʃən fɜːrst ˈproʊɡræmɪŋ/

A way of writing computer programs where you build small helpers called functions and put them together like building blocks.

In function-first programming, she wrote a tiny function to add numbers before writing the main program.


OTHER MEANINGS

2. A coding style that starts by defining reusable functions before arranging them into a full program.

The tutorial taught function-first programming by having students write helper functions first.

3. An approach in software design that treats functions as the main building pieces of an application.

Their team chose function-first programming to keep the codebase easy to test.

4. A teaching method that introduces functions before classes or objects.

The beginner course used function-first programming so learners could grasp logic early.