by hakan · 16y ago · 0 comments
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.
Yes, but having "some FP features" is a far cry from being able to use FP to do lots of reasoning about your program.
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.)