Imperative programming: Difference between revisions

Content deleted Content added
m Use sentence case for headings per MOS:HEADINGS
Line 5:
The term is often used in contrast to [[declarative programming]], which focuses on ''what'' the program should accomplish without specifying all the details of ''how'' the program should achieve the result.<ref>{{Cite web |title=Imperative programming: Overview of the oldest programming paradigm |url=https://www.ionos.com/digitalguide/websites/web-development/imperative-programming/ |access-date=2022-05-03 |website=IONOS Digitalguide |date=21 May 2021 |language=en}}</ref>
 
==Procedural Programmingprogramming==
[[Procedural programming]] is a type of imperative programming in which the program is built from one or more procedures (also termed [[subroutine]]s or functions). The terms are often used as synonyms, but the use of procedures has a dramatic effect on how imperative programs appear and how they are constructed. Heavy procedural programming, in which [[State (computer science)|state]] changes are localized to procedures or restricted to explicit arguments and returns from procedures, is a form of [[structured programming]]. Since the 1960’s, structured programming and [[modular programming]] in general have been promoted as techniques to improve the [[maintainability]] and overall quality of imperative programs. The concepts behind [[object-oriented programming]] attempt to extend this approach.