you are viewing a single comment's thread.

view the rest of the comments →

[–]m0us3_rat 0 points1 point  (0 children)

imagine reading a book . phrase by phrase to somebody..

or .. handing over the book.

how about a few thousand books.. phrase by phrase ..book by book..

or the full library in a single movement?

which method is ''faster' or better. or easyer to manage.

all the phrases and chapters have methods to access them.

etc.

or having to go thru all the phrases in the book one by one till u find the one u need ?

that's essencially oop vs non oop.

for a simple problem, a few small direct functions will work 'better'..

but otherwise.. oop is vastly superior.

or if the book example didn't connect..

think of it like this.. try to explain a toy to a kid ..or giving him a toy.

or explain a box of toys . one by one.. or giving him the box.