0
Why function programming is better than other
2 Answers
0
Do you mean using functions in programing , or functional programming like lambdas in Python or using functional languages like Clojure and Elixir? For the first, a lot of programmer's like to be D(on't)R (epeat)Y(ourself). Why should I have to write code that calculates the power of two numbers each time if I only need to it once with a function? It's easier to write and rewrite if I want to change it.
0
If you use a function, you can call it in that same program when you want to.