Session from ILUG 2008, see http://www.ilug2008.org for details
Description:
Do you have objections to objects?
Haven't you visited classes about classes?
Is abstraction still too abstract for you?
Don't you use methodic methods and proper properties?
Then come to this introductory session about object-oriented programming (OOP) in LotusScript, where you can learn:
- why delegation might be better then inheritance,
- why hiding information can be helpful sometimes and
- how you can use polymorphism to teach old dogs new tricks.
8. There are many objects. Concurrently . Objects interact .
9. OOP maps real world objects to software objects.
10. A concept called encapsulation . Object = state + behavior + identity
11. „Think of an object as a fancy variable; it stores data, but you can „make requests“ to that object, asking it to do operations on itself.“ Bruce Eckel, Thinking in Java
36. The end Ask questions now — or later Blog: www.assono.de/blog Email: [email_address] Phone: +49/4307/900-401
Editor's Notes
I'll mainly talk about the what is and the why of OOP. The how — i. e. the syntax — is relatively easy to look up, when you've understood the concepts. Image: http://www.sxc.hu/photo/998467