70 likes | 79 Views
This module explores paradigm blindness in programming paradigms and the importance of being open to new rules and ways of thinking. It provides examples and discusses the four main programming paradigms: imperative, object-oriented, functional, and logic.
E N D
Paradigm blindnessprogramming paradigms Module 01.3COP4020 – Programming Language Concepts Dr. Manuel E. Bermudez
The mortal disease of certainty. Paradigmsact as physiologicalfilters; a coloredfilterbeforetheeyes. The rules forthe new paradigm are oftencompletelyINVISIBLE to thosestillsubscribing to theoldparadigm. ParadigmBlindness
Example: In the late 1930’s, Chester Carlsonshowed Kodak, IBM and 41 othercompanieshis new “photographicsystem”: a steelplate, someblackpowder, a piece of catfur, a piece of amber, somewaxpaper, and aniron. OnlytheHalloidCorporationadoptedthe new system. Theylaterbecame ??? ParadigmBlindness (cont’d)
Example: Whoinventedthequartzwatch ? Characteristics of paradigmblindness: “That’snotthewaywe do it.” “Itisnotgoing to work.” “That’simpossible.” “Ifyouhadmyyears of experience, youwouldknowyou are wrong.” ParadigmBlindness (cont’d)
Examples: ParadigmBlindness (cont’d)
FOUR PARADIGMS OF COMPUTING Imperative: WHAT DO WE DO NEXT ? Object-Oriented: WHAT ARE THE TERMS OF THE CONTRACT ? Functional: WHAT IS THE FUNCTION’S VALUE ? Logic: WHEN IS IT TRUE THAT … ? Programming (Language) Paradigms
summary • Paradigm blindness: • New rules become invisible. • Examples everywhere. • Four Programming Paradigms: • Imperative. • Object-oriented. • Functional. • Logic.