Analysing Functional Paradigm Concepts - The JavaScript Case
Autoři
Rok
2017
Publikováno
Recent Advances in Information Systems and Technologies. Berlin: Springer-Verlag, 2017. p. 882-891. ISSN 2194-5365. ISBN 978-3-319-56535-4.
Typ
Stať ve sborníku
Anotace
Hundreds of programming languages are available today and
new ones are still emerging. Nevertheless, they are founded in several
(old) paradigms. Knowing the essence of paradigms helps to orient one-
self in this Babylon, which is challenging especially for the growing com-
munity of programmers with no computer science background. In this
paper we focus on functional paradigm, which has a raising attention
both in new languages (like Clojure and ClojureScript) and a growing
support in traditional languages (like C++ and Java). We do not discuss
why this happens here, but we focus on analysing fundamental concepts
in the functional paradigm and functional programming languages. We
describe them and divide them into two categories: key principles and
additional principles. Next, we apply this conceptual framework to anal-
yse the ES5 and ES6 versions of JavaScript. We conclude that ES6 is a good step towards functional principles support. Also, the presented con-
ceptual framework may be used for similar analyses of other languages.