|
|
|
|
|
by stcredzero
3595 days ago
|
|
Smalltalk doesn't let you say “this object responds to message Foo only when used in this part of the program”. In VisualWorks, there were different two ways of writing a short script to verify this in a matter of seconds. You could also sometimes achieve this with a few cascaded searches through the Refactoring Browser. |
|
This doesn't scale to either large programs or programs not entirely written by yourself.
In ML, there's no need to search anything: the only admissible operations on a value are those sanctioned by its type.
> You could also sometimes achieve this with a few cascaded searches through the Refactoring Browser.
As a library author, you can't search code written by users of your library.
In ML, I can prove things not only about my own code, but also about how others may use it.