Refactor, decouple?

IanMc

Well-Known Member
Licensed User
Longtime User
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!
 
Last edited:

IanMc

Well-Known Member
Licensed User
Longtime User
There is another programming language called Haskell

I managed to get myself banned from their IRC channels :) too many beers.

there is an obvious lacking of any windows based software that they may have made but still I think it's worth investigating.

They are more Unix, Linux based.

They say they don't have to code so much, less lines of code.

Just thought I'd mention that.
 
Upvote 0
Top