Talk:Procedural programming
This is the talk page for discussing improvements to the Procedural programming article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1Auto-archiving period: 12 months ![]() |
![]() | Computing: Software / CompSci Start‑class Mid‑importance | |||||||||||||||||||||||||
|
![]() | Computer science Start‑class Mid‑importance | ||||||||||||||||
|
Comparison with object-oriented programming
I would like to see less of the editorial slant in favor of OOP in that topic. For example, instead of using phrases like "it's undeniable that OOP is better at" please use phrases like "Many people believe that OOP is better at".
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? — Preceding unsigned comment added by 2806:106E:B:53E6:F9:F69F:2ED7:3753 (talk) 08:48, 2 September 2022 (UTC)
- Start-Class Computing articles
- Mid-importance Computing articles
- Start-Class software articles
- Mid-importance software articles
- Start-Class software articles of Mid-importance
- All Software articles
- Start-Class Computer science articles
- Mid-importance Computer science articles
- Start-Class Early computers articles
- Mid-importance Early computers articles
- Start-Class Early computers articles of Mid-importance
- All Computing articles
- WikiProject Computer science articles