4 ms·
> The building blocks of every programming language are functions. Hmmm, no.
by HeavyStorm 6y ago
> The building blocks of every programming language are functions.
Hmmm, no.
- capableweb 6y agoYou'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.