English Function (computer programming) Cited by user Guy Harris on 03 Oct 2022 In computer programming, a function or subroutine (when it doesn't return a value) is a sequence of program instructions that performs a specific task, packaged as a unit.