为何存在多种编程范式?
Pourquoi existe-t-il de nombreux paradigmes de programmation ?
AI总结:
针对图灵完备语言等价却存在多种编程范式的现象,本文通过先定义编程范式,再分析不同范式对不同应用场景(如学习、问题解决)的适配性,解释了多种编程范式存在的原因。
摘要:
存在许多不同的编程范式。由于所有图灵完备的编程语言在形式上是等价的(它们具有表达任何可计算问题的相同能力),如此多不同范式的存在可能显得令人惊讶,甚至毫无意义。在本文中,我们将尝试理解为何存在如此多不同的范式。我们将从编程范式的定义入手,然后展示不同范式如何更适合不同的应用场景:学习、解决或表达特定类型的问题,以及更广泛地说,适合每种范式所带来的特性。
英文摘要:
There are a lot of different programming paradigms. Since all Turing-complete programming languages are formally equivalent (they have the same ability to express any computable problem), the existence of so many different paradigms may seem surprising, even pointless. In this article, we will try to understand why there are so many different paradigms. We will start with a definition of what a programming paradigm is, then show how different paradigms are better suited for different applications: learning, solving or expressing certain types of problems, and more generally for the features brought by each paradigm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。