Tried to explain functional programming (in C# because it's a real world job) to a colleague. It's surprisingly difficult to sell benefits of purity and immutability if the there is no threading going on. Much as I hate JavaScript at least those who touch React educate themselves in right concepts (even if they start using funny non-standard CQRS terminology).
The real benefit of purity and immutability is managing complexity. People focus way too much on threading, which is a buzzword. As ever, the buzzwordy version of an otherwise good idea is never all it's cracked up to be.
It's all down to context boundaries:
- With a pure function, you can completely understand its behavior by reading just that function's code, and possibly also the code of any other functions it calls.
- With a method that relies on mutable variables, you have to understand not only that method, but also every other method that mutates the variable, and possibly all the code that has a reference to that object.
In the second case, you've potentially got a much wider scope to understand. Almost as wide a scope as you need to understand when global variables are in use. Worse, it's now possible to change that method's behavior without touching any of that method's actual code. It's even possible that you could change it without touching the file that contains it.
In a nutshell, the real benefit of purity and immutability is that it eliminates "spooky action at a distance" type behaviors, and all the intractability that tends to come with them.
So you would prefer JFK to have said: "We choose to send robots to the moon. We choose to go to the moon in this decade and do the other things, because they are easy and cheaper and faster..."
"Well, space is there, and we're going to climb it, and the moon and the planets are there, and new hopes for knowledge and peace are there. And, therefore, as we set sail we ask God's blessing on the most hazardous and dangerous and greatest adventure on which man has ever embarked."
There will as many robots as you want in space, but man will be out there right along with them, no matter how difficult or dangerous or expensive it is.
Let me blog it. I get tired of answering this question. The short answer is if we had built robots and sent hundreds into space, we'd have more humans in space now because it would be safer and cheaper. We'd also learn more quickly. We'd also have more advanced robots because of the investment.
We reached the moon, spent a few years, then gave up because of cost.
Would you rather have a new robotic explorer, or two or three, queued for Mars, Titan, etc every year or a few people on Mars by 2040?
Totally agreed. We could have an army of terraforming robots establish a space on Mars, for instance, then send humans there when we're sure it's hospitable. Or send drones throughout the galaxy with human embryos to potential habitable planets. An ethics nightmare, to be sure, but interesting to consider the implications nonetheless.
We don't know that, right? We don't know how much it would cost to develop the tech; we don't know how long it would take; we don't know how difficult it would be.
It might actually be cheaper to send canned apes throughout the solar system, than human minds in robot bodies; we just don't know yet. This is at best a Fermi problem, where we can start throwing numbers out and hope our estimates are within a few orders of magnitude.
We send what we have now then iterate. Release early, release often. Funding robotics, AI, etc is not a NASA funded goal but goes under defense budget, tax deductions for industry, etc.
The real problem is getting the money for space. No one wants to write a big check for Mars. They’ll write big checks for the Pentagon, automation in manufacturing, and strategic national goals.
I don't know, I'd probably be pretty salty too if I'd known of bitcoin for years, never bought any because I kept predicting its demise / uselessness, and was continuously made wrong by reality. This meme shouldn't make me laugh but seems fitting... https://pbs.twimg.com/media/DQfNIzNVAAETVOB?format=jpg&name=...