Category talk:JavaScript: Difference between revisions

m
JavaScript may be functional by some definition, however, that doesn't change that JavaScript is a horrible language to attempt functional programming in
(I can't find a reason for saying that JS isn't functional)
m (JavaScript may be functional by some definition, however, that doesn't change that JavaScript is a horrible language to attempt functional programming in)
Line 39:
 
::: Well, ultimately the functional paradigm's been pretty successful, though the strict functional less so (precisely because so many problems are very coupled to their state). That's an indication of a reasonable degree of success for the paradigm. (We probably ought to take this part of the discussion somewhere more general.) For my money, the fact that authorities outside of RC say that JS is functional is sufficient evidence for me to admit its description as such here. –[[User:Dkf|Donal Fellows]] 10:56, 1 January 2011 (UTC)
 
:::: I can confidently state that there is a significant difference between functional languages like Clean, Haskell, Erlang, and ML and scripting languages like JavaScript and PHP.
:::: However, it is like when you said "just naming features." Functional programming is the ''name'' of a paradigm. Attach whatever meaning to it you want.
:::: On the other hand, it is undeniable that JavaScript is completely side effect ridden and therefore non-declarative.
:::: It just so happens that declarative programming is probably the most important part of ''effective'' FP. By telling the computer what to do rather then how to do it, you free up the compiler to optimize and parallelize at will. --[[User:Jhuni|Jhuni]]
Anonymous user