If this was actually implemented, it'd be incredible. No more ambiguity when you have to define all the parameters and outcomes explicitly!
If this was actually implemented, it'd be incredible. No more ambiguity when you have to define all the parameters and outcomes explicitly!
Don't kid yourself, there's still a lot of room for ambiguity.
EDIT: oh, and that annoying halting problem...
Functional languages would be much better for this purpose.
Also, Python is clearly a step up from English on a variety of metrics, including the reduction of the ability to monkey-patch.
Yes, but having "some FP features" is a far cry from being able to use FP to do lots of reasoning about your program.
My understanding is that the type of calculations they're talking about, if you need complex Functional Programming you're doing it wrong.
Suppose the deal goes out there, bonds are sold, but then real world inputs result in an endless loop. What happens to the money then?
So this is definitely a big improvement.
But my point remains that it is not perfect. There still are ambiguities.
(Actually something as straightforward as a de-crufted PHP with APL's matrix handling would be a pretty wonderful language, when you think about it.)