3 ms·
You're right, not every single programming language on this planet does have functions. But, nearly all of them have functions, at least as a concept. Then in
by capableweb 6y ago
You're right, not every single programming language on this planet does have functions.
But, nearly all of them have functions, at least as a concept. Then in some languages they are called methods, sub-routines, procedures and more, but the concept are mostly the same. A collection of lines of code that does something, probably with a name.
- CodeArtisan 6y agoHistorically, all theses had a specific meaning which got lost or turned irrelevant with time. Subroutine, for example, came from a computer that Alan Turing worked on, it had multiple slots for punched tapes; one for the main routine and the rest for subroutines. You could jump from one tape to another tape and then return.