Functional Programming focus on 202202081524# and avoids mutable state. To change the value, most functional programming languages use new copy to change value, but this could be expensive.
Functional Programming
-
Pure Function
It is emphasised heavily in #202203061121.
-
Clojure’s Persistence Collections
Clojure uses persistence collections such as list, vector and map to #make copy efficient.
-
Clojure
Clojure is a #functional Lisp programming language. Although like other functional programming it emphasises on 202202081524, Clojure also allows impure functions. 202203061126# and keywords could act as functions too.