Why are polymorphic messages so much more powerful in practice than the combination of unification and backtracking?

Viewed 936

One way of looking at the history of programming language design is that there was a revolution with the introduction of the subroutine. Twenty or thirty years later, two refinements of the subroutine call were seriously considered:

  • Polymorphic messages
  • Unification and backtracking

I've just been programming in Prolog after a 20 year hiatus and realizing just how incredibly powerful unification and backtracking are. However, polymorphism won. Why?

5 Answers
Related