This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/examples/shapes/NOTES.txt

29 lines
695 B
Plaintext
Raw Normal View History

=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.29.2
Copyright (c) 1998-2007 Paulo Moura. All Rights Reserved.
=================================================================
This directory contains two versions, one prototype-based and the
other one class-based, of a very simple geometric shapes hierarchy.
The aim of this example is to compare the pros and cons of using
either prototypes or classes for defining object hierarchies.
ph
prototype-based version
ch
class-based version
Both versions define the following hierarchy of objects:
shape
polygon
regular_polygon
square
q1
q2