English Function (computer programming) Cited by user StarryGrandma on 12 Dec 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.