Jump to content

Talk:Procedural programming

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lowercase sigmabot III (talk | contribs) at 01:07, 29 May 2023 (Archiving 16 discussion(s) to Talk:Procedural programming/Archive 1) (bot). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconComputing: Software / CompSci Start‑class Mid‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (assessed as Mid-importance).
Taskforce icon
This article is supported by WikiProject Computer science (assessed as Mid-importance).
Taskforce icon
This article is supported by Early computers task force (assessed as Mid-importance).
Things you can help WikiProject Computer science with:

WikiProject iconComputer science Start‑class Mid‑importance
WikiProject iconThis article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-importance on the project's importance scale.
Things you can help WikiProject Computer science with:

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)[reply]