Re:Classification of the Principal Programming Paradigms (2009)
by Jtsummers on Saturday February 15, 2020 @11:38AM
(#22336237)
What about array programming, in your view, would differentiate it from the imperative and related paradigms?
[ Parent
| on HN ]
Re:Classification of the Principal Programming Paradigms (2009)
by chroem- on Saturday February 15, 2020 @01:04PM
(#22336783)
Instead of describing the control flow of a program, you describe a set of operations on data structures.
Re:Classification of the Principal Programming Paradigms (2009)
by AnimalMuppet on Saturday February 15, 2020 @02:36PM
(#22337410)
"A set of operations on data structures" sounds very much like imperative programming to me.
Re:Classification of the Principal Programming Paradigms (2009)
by chroem- on Saturday February 15, 2020 @02:46PM
(#22337486)
It's one of those things you can't really appreciate until you've tried it. Imperative programming languages are to assembly languages, as array programming is to imperative programming: it's a higher level of abstraction. The difference between the array and imperative paradigms may not be quite as pronounced as the difference between C and assembly, but it's still significant nonetheless.
There's no need for control structures like loops or if statements in array programming.