|
|
|
|
|
by ahf8Aithaex7Nai
267 days ago
|
|
That's already been happening for quite some time. Mainstream programming has done little else in recent years than converge toward functional programming. Also, they wrote "functional," not "purely functional." By the way, from a formal perspective, imperative programming is an extension of purely functional programming. |
|
Out in the real world, the thing that all programming languages are actually built on top of looks much more like a Turing machine than a collection of composed anonymous functions. But of course if you want to make your programs go really fast, you can’t treat them like Turing machines either. You need to acknowledge that all of this theory goes out the window in the face of how important optimizing around memory access is.
Which isn’t to say one perspective is right and one is wrong. These perspective all exist and have spread because they can all be useful. But acting like one of them is “reality” isn’t all that helpful.
Ps. Not that the parent actually said the formal perspective was reality. I just wanted to articulate this thought I had bouncing around in my head for a while.