Programming Paradigm

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2020 Mar 31 2:1
Editor
Edited
Edited
2026 Feb 24 16:2
Whether something is Declarative or Imperative is a matter of layers. In general purpose programming languages, no language can be completely imperative or declarative. Whether something is imperative or declarative is determined by the framework, root level, or even function definition. However, from a
Simplicity
perspective, if declarative and imperative approaches are interleaved within the same block definition, the system becomes complex. Therefore, proper composition is the way to simple system design.
Black-box abstraction transforms imperative layer to declarative layer. Conventional interfaces maintain declarative to declarative interactions. Execution semantics transform declarative layers into imperative processes. Metalinguistic abstraction transforms imperative layers into imperative ones.
Programming Paradigms
 
 
 
All Programming Philosophies Are About State | World of BS
I recently realized that all the various programming philosophies are concerned with state, and can be boiled down into a simple statement about how to work with state. Object-Oriented - Modifying a lot of state at once is hard to get correct; encapsulate subsets of state into separate objects and allow limited manipulation of the encapsulated sub-state via methods.
 
 

Recommendations