7 ms·
> The world is not pure TL;DR: The 'impurity' of the world is an illusion created by our brains. I have a physics degree and I completely disagree. The world
by retrogradeorbit 10y ago
> The world is not pure
TL;DR: The 'impurity' of the world is an illusion created by our brains.
I have a physics degree and I completely disagree. The world IS pure.
Think of it like this: Time is the successive application of a pure function that takes the old universe as an argument and returns the new universe. All science models the real world like this. This is the foundation of mathematics. Nowhere in physics or maths do we mutate anything. Even quantum applies this perspective. This is what leads to the many worlds interpretation of quantum.
What's actually going on is your brain is such a powerful illusion machine that it has convinced 'you' that the world is composed of 'objects' that 'change'. This is entirely inside your brain. It is a side effect of the perception process inside your brain. It does not mean the real world is actually composed of 'objects' that 'change'.
This illusion is so strong that we then go on to model the real world inside computers with 'objects' that 'change'. This is a mistake that leads to no end of problems.
Once you realise the world is immutable, and that the process of time is a function, and that what we see as time is actually a succession of immutable 'universe-values', you then start modelling your problems like this. And then you realise what a better fit FP is for modelling the real world. And then you realise why science models the world using mathematics... that is functions and values... which are immutable.
When I argue this with OO developers I ask them "Is the real world mutable, or immutable?" When they answer mutable, I then ask them to go back to last Tuesday and change their lotto numbers. They can't. It's almost as if the past.... is immutable! And the present becomes the past the very moment it comes into being. And the future is unknown.
The present also cant be changed. We can affect the future by using our muscles to apply 'forces' to the 'universe-value' thereby changing the way the time-function of the universe returns the new-universe value (the future), but we cannot reach in and alter any of these immutable values directly, not the past, the present, or the future.
- cousin_it 10y agoThe world might be pure behind the scenes, but it stubbornly presents an imperative interface, and refuses to present a pure one where old values would stay accessible forever. That has major implications for computing.
- deleted 10y ago[deleted]
- daxfohl 10y agoWhat physics class do they teach all this in? I must have missed that one.... "Many worlds" is more philosophy than physics, isn't the most accepted interpretation, and even going down that path leads to lots of edge cases that could still imply impurity. Besides, if the world is pure, and OO is part of the world, then OO must be pure too so what's the problem?
- soijioeiofj 10y agoEven calling any of this "philosophy" is too much credit. This is more like shit you say to your dog when you're stoned.
- daxfohl 10y agoSo? The universe is also full of black holes, has quantum things popping out of nothing, and is full of paradoxes. Does that mean we need to model all that into our business logic too?