Javascript Arrays and Functional Programming
I accept that this is a widely used phrase now but I never understood why just using map&#x2F;filter&#x2F;reduce and avoiding state is enough for code to be called &quot;functional programming&quot;.<p>Most functional languages feature pattern matching, algebraic data types, purity, currying, strong typing, type inference, recursion instead of loops and types that cannot be null. It&#x27;s a completely different style of coding. Adding map&#x2F;filter&#x2F;reduce to an imperative language doesn&#x27;t get you close to the level of robustness and ease of implementation for that safety you&#x27;d get in a functional language.