4 ms·
that's not what procedural programming is, it has nothing to do with decomposing tasks. it has to do with a procedural style of telling the computer what to do.
by betenoire 11y ago
that's not what procedural programming is, it has nothing to do with decomposing tasks. it has to do with a procedural style of telling the computer what to do.
note that I didn't say procedural programming is cargo cult, I said cargo cult programming often results in procedural style programs
- catnaroek 11y agoWikipedia disagrees with you: > “Procedural programming is a programming paradigm, derived from structured programming, based upon the concept of the procedure call. Procedures, also known as routines, subroutines [emphasis mine], or functions (...)” [https://en.wikipedia.org/wiki/Procedural_programming https://en.wikipedia.org/wiki/Procedural_programming] Procedural programming is all about decomposing programs (descriptions of tasks) into subroutines (descriptions of subtasks). Maybe you were thinking about imperative programming instead? Procedural programs are certainly imperative, but not all imperative programs are procedural.
- betenoire 11y agoyes you are right, that's what I meant. Sorry