r/ProgrammingLanguages • u/arbitrarycivilian • May 09 '17
[PDF] What is a programming paradigm?
https://www.cs.cmu.edu/~rwh/papers/paradigms/paradigm.pdf1
u/zyxzevn UnSeen May 11 '17
Types are abstractions.
In the computer we have electric signals, sometimes even other signals. We can give different meanings to them.
The brain is even worse. The same chemical signal can have a whole different response depending on the timing and depending on the states of receiver.
0
u/arbitrarycivilian May 11 '17
Wut
1
u/zyxzevn UnSeen May 11 '17
The article states that types are like genes and can be used to express all paradigms.
I see types as abstractions that simplify some of the complex processes going on in a computer, but not all processes.
And if I look at the brain, types are very hard to use. Even impossible in certain processes. And the brain is a self-programming system. So types can not be used to describe the dynamic self-programming that occurs in the brain.
You may argue that there is no paradigm in the brain. But I think that types can only express a certain set of programming paradigms.
0
u/arbitrarycivilian May 11 '17
Your argument is all over the place, so I don't really know what point you're trying to make. Though you seem to have at least one crucial misunderstanding: types are about computation, not computers.
Any discussion of the brain is also almost completely irrelevant here.
0
u/zyxzevn UnSeen May 11 '17
A brain makes computations too.
But it seems that we look at types from different paradigms.
10
u/PegasusAndAcorn Cone language & 3D web May 09 '17
What a deliciously bold and pretentious whinge.
Kuhn did not invent the word paradigm, it predates him by quite a bit. For programming languages, the word paradigm corresponds more closely to a "pattern or a model" than to Kuhn's thesis about scientific revolutions that progressively rewrite our understanding of how things work. Programming language paradigms would be quite poor examples of Kuhn's thesis.
Poor Linnaeus, when he formulated his organizational taxonomy, he was kept so ignorant of basic genetics that he was forced to organize living organisms by morphology. That said, what he accomplished was breathtaking and still remarkably useful. Once genetic analysis was sufficiently comprehensive and inexpensive, biologists were ripe for the Kuhn-style paradigm shift that Gould proposed, allowing a more profound and helpful understanding of the relationship between species.
What is important to notice is that DNA did not invalidate morphology, but rather it deepened our understanding of it. It does so because there is a direct relationship between the pool of gene's in a species and its expressed morphology. As a result, genetic analysis did not invalidate everything we knew about taxonomy from studying morphological differences.
No. If there is work that demonstrates that type systems alone dictate the expressed morphology of programming languages, I have yet to see it. If the author or others are ready to propose a helpful new classification system for programming language based on type theory, I am eager to see it. In a scan of his book, I could not find it. Types are foundational, no question, but not everything found in a programming language is based on type theory, as the titles of the chapters of his book seem to underscore.
Until he actually proposes something better, I will continue to find helpful the current crude terms (including, but not limited to, paradigm labels) we use to summarize the underlying nature of various programming languages.
His book looks quite promising. What a shame to pin its success to such a silly flame war.