codechunk

noun
UK /ˈkəʊd.tʃʌŋk/
US /ˈkoʊd.tʃʌŋk/

A small piece of computer code.

The teacher showed us a codechunk that makes a button change color.


OTHER MEANINGS

2. A short section of a program that can be copied and used again.

She saved the codechunk in a folder so she could reuse it later.

3. A small part of a coded message or secret writing.

The spy found one codechunk hidden in the letter.

4. A tiny unit of instructions that a computer follows.

Each codechunk tells the robot to move one step forward.