Talk:Object-oriented


 * 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