Jump to content

Talk:Object-oriented

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Graham87 (talk | contribs) at 13:10, 25 February 2009 (fix link). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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