Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I notice that only dictionary implements clone/3/4 https://logtalk.org/library/predicate_index.html#clone-3 .. is there some reason that it is?
- (I know Logtalk does not implement OO the same way other languages might, but is there a generic way one could?)
- Another example/sample that also might be useful to create , besides "cloning", would be the creation of a proxy object that might be backed by a dictionary. But by proxy I mean one that might put itself as a version of other objects in the language.
- I suspect this comes up all the time, and at that point the opportunity arises to teach people about a better sort of object language where "Modules == Objects". But it would still make sense to provide something so people they dont have to leave their existing comfort zones using Logtalk. They can always sell themselves on "Modules == Objects" later. especially if providing them a way to use their existing styles with Logtalk style.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement