Now that Erel has finally given us Object Oriented Programming.
Make an Object, you can call that object many times in your code.
It is a discrete little bundle of not only code, but data!
Then, decouple it.
Make it independent from any activities or views or whatever else.
Why?
Because then with your perfectly and well crafted little object you can use it in other forms. C# Java etc.
Before you reach the perfect Object you will have to 'refactor' which simply means, go over the code again and again to make it perfect.
But why try to learn OOP ?
Well, when I was young ..... no I'll just tell you
You never have to re-visit that code again because that little object that you made was fully tested by you!
It can sit in your library of fully tested objects.
You will know that if you employ that well-tested object, you don't have to re-invent that particular wheel.
You'll get it, eventually.
Actually Object Oriented Programming is not a new device. It was invented in the sixties but things like procedural programming were easier at the time for the machines of the time.
I asked myself, 'how do they make really big programs? like 'word for windows' or even 'windows' ?
OOP
Learn it!
Make an Object, you can call that object many times in your code.
It is a discrete little bundle of not only code, but data!
Then, decouple it.
Make it independent from any activities or views or whatever else.
Why?
Because then with your perfectly and well crafted little object you can use it in other forms. C# Java etc.
Before you reach the perfect Object you will have to 'refactor' which simply means, go over the code again and again to make it perfect.
But why try to learn OOP ?
Well, when I was young ..... no I'll just tell you
You never have to re-visit that code again because that little object that you made was fully tested by you!
It can sit in your library of fully tested objects.
You will know that if you employ that well-tested object, you don't have to re-invent that particular wheel.
You'll get it, eventually.
Actually Object Oriented Programming is not a new device. It was invented in the sixties but things like procedural programming were easier at the time for the machines of the time.
I asked myself, 'how do they make really big programs? like 'word for windows' or even 'windows' ?
OOP
Learn it!
Last edited: