Imperative programming: Difference between revisions

Content deleted Content added
My fevret program language puthon
Tags: Reverted Mobile edit Mobile web edit
m Reverted edits by 2405:204:A3A7:C3BD:0:0:F0B:A0AC (talk) to last version by Timhowardriley
Line 3:
{{Programming paradigms}}In [[computer science]], '''imperative programming''' is a [[programming paradigm]] of [[software]] that uses [[Statement (computer science)|statement]]s that change a program's [[state (computer science)|state]]. In much the same way that the [[imperative mood]] in [[natural language]]s expresses commands, an imperative program consists of [[command (computing)|command]]s for the [[computer]] to perform. Imperative programming focuses on describing ''how'' a program operates step by step, rather than on high-level descriptions of its expected results.
 
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=√w.pothinIONOS Digitalguide (program)06|language=en}}</ref>
 
==Imperative and procedural programming==