Is the most powerful language right now is JavaScript....????? | Sololearn: Learn to code for FREE!
+ 2

Is the most powerful language right now is JavaScript....?????

hey i started learning JS after completing HTML and CSS as with the help of these we can make mobile apps and web apps to...

19th Jun 2018, 5:23 AM
Rachit Gupta
Rachit Gupta - avatar
2 ответов
+ 3
Hello, Rachit Gupta ! Although Javascript is not widely known or used as a functional language, it has some functional elements. If you define a functional language as a language that supports the functions of the first class and lambda, then yes, JavaScript is a functional language. If you also take into account factors such as support for immutability, algebraic data types, pattern matching, partial applications, etc. Then, no, JavaScript is not a functional language. In addition, JavaScript has a flow of control and is conceptualized as an imperative language. From its design goal, it is clearly not considered a functional language. Why functional programming? Its pure function provides the assurance that it does not change things outside its domain. This reduces the complexity, there is no need to worry about how this is done, it will focus only on what it does. Simplicity of testing, because it does not depend on the state of the application, and the verification of the result will also be easy.
19th Jun 2018, 5:35 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 2
You start learning kotlin. You can use kotlin to create android applications and web applications
19th Jun 2018, 5:58 AM
Prince Raj