Posts

Showing posts from August 12, 2021

Programming Paradigm

Do you solve problems by just jumping in, willing to ignore the experience and wisdom of those that may have programmed solutions to problems very similar to yours? We learn from the past. Our ancestors discovered and invented ways of programming that we know call paradigms. We benefit from the knowledge they left us, even as we strive to create new paradigms ourselves. Definition: A programming paradigm is a style, or “way,” of programming. Never use the phrase “programming language paradigm.” A paradigm is a way of doing something (like programming), not a concrete thing (like a language). (e.g. “Haskell is a functional programming language”) but that does not mean there is any such thing as a “functional language paradigm”. Some Common Paradigms Imperative: Programming with an explicit sequence of commands that update state. Declarative: Programming by specifyin