root/trunk/examples/complements/NOTES.txt

Revision 4662, 1.1 KB (checked in by pmoura, 6 days ago)

Updated copyright notice.

  • Property svn:eol-style set to native
Line 
1================================================================
2Logtalk - Open source object-oriented logic programming language
3Release 2.35.0
4
5Copyright (c) 1998-2009 Paulo Moura.        All Rights Reserved.
6Logtalk is free software.  You can redistribute it and/or modify
7it under the terms of the "Artistic License 2.0" as published by
8The Perl Foundation. Consult the "LICENSE.txt" file for details.
9================================================================
10
11
12To load this example and for sample queries, please see the SCRIPT.txt file.
13
14This folder contains an example that shows how to use a category to
15explicitly complement an existing object (without modifying its source
16code), thus providing functionality similar to Objective-C categories.
17
18The complemented objects need to be compiled with the flag "complements"
19switched on. This is a less than ideal solution that was adapted in order
20to both improve performance of code that doesn't use complementing categories
21and to provide a solution for preventing the use of complementing categories
22to break object encapsulation.
Note: See TracBrowser for help on using the browser.