• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 23. OBJECT-ORIENTED PROGRAMMING > REASONS TO USE OBJECTS

REASONS TO USE OBJECTS

Almost everything you can do with objects in Lingo can be done without much difficulty using Director's Score-based environment. So, why use objects? Objects offer advantages of efficiency, flexibility, and optimal use of processing and memory resources. The following sections give five reasons to use objects.

Objects Organize Your Code

Better organization is achieved with objects because the parent contains both the code and the variables on which the code relies. If all your code and variables related to printing a report or playing digital video are in the same place, it's easier to maintain them using objects.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint