Since past 6 months, I started to learn the concepts of functional programming. While reading many sources, one of the things I found was that in functional programming, order of execution is undefined! I don't clearly understand this.
From this other Stack Overflow answer: https://stackoverflow.com/a/23290/1276021, "A functional language" (ideally) allows you to write a "mathematical function".
But, as in mathematical functions, f(g(x)) !== g(f(x))
- meaning, order of execution matter.
It seems like I was wrong in understanding the concept that "order of execution is undefined". Where am I wrong?