Home Segments Index Top Previous Next

776: Mainline

VisualWorks not only adds category grouping for classes, but also adds protocol grouping for methods.

VisualWorks uses protocols to group together methods that share a common purpose. In the Magnitude class, there is only one protocol, named comparing. In other classes, you find protocols with names such as initialize-release, accessing, changing, and updating.