[Home]Object-oriented/Talk

HomePage | Object-oriented | Recent Changes | Preferences

Why is this useful? A typical procedural language needs different functions for each thing that must be closed. In a object-oriented language, a door, box, cabinet, etc may all provide the same interface, saving the programmer a lot of memorization.

This is silly explanation. One could call all functions *_close or use language which allows close(foo) and close(bar) to be different functions. --Taw


HomePage | Object-oriented | Recent Changes | Preferences
This page is read-only | View other revisions
Last edited December 19, 2001 7:56 am by Taw (diff)
Search: