Talk:Procedural programming: Difference between revisions

Content deleted Content added
m Archiving 16 discussion(s) to Talk:Procedural programming/Archive 1) (bot
Tag: Replaced
m Archiving 1 discussion(s) to Talk:Procedural programming/Archive 1) (bot
Line 21:
Also, I would like to see some more information about how procedural programming
can be superior to OOP.
 
== This article should be removed. Procedural abstraction is prevalent in every programming paradigm ==
 
There is no procedural paradigm as such. Any algorithm is a sequence of steps transforming an input (possibly null) to some answer, it does not matter if such language is imperative or declarative. Imperative languages compute by mutating the state of memory, a program is a composition of such instructions with the help of control statements, functional programming does the same by composing functions.
OO programming created a lot of confusion, because instead of writing code composed with instructions, in OO it is supposed that objects are sending messages to other objects, those messages order to perform some procedure called object's method. The main difference is an exacerbated use of encapsulation which induce an anthropomorphic approach to the problem.
 
'''Is procedural programming implementing algorithms in a procedural language?'''
That's probably the source of confusion.
 
'''What can be said if procedures are implemented with coroutines?''' <!-- Template:Unsigned IP --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/2806:106E:B:53E6:F9:F69F:2ED7:3753|2806:106E:B:53E6:F9:F69F:2ED7:3753]] ([[User talk:2806:106E:B:53E6:F9:F69F:2ED7:3753#top|talk]]) 08:48, 2 September 2022 (UTC)</small> <!--Autosigned by SineBot-->