Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I use Object Orientated Programming on a soccer application in delphi not java?
Posted
Updated 5-Oct-11 10:06am
v2

OOP is not an thing that you will use. Instead is an programming paradigm which needs to be supported by the programming language you are using. As far as I know Delphi is an object-oriented derivatives of Pascal, so yes you are probably already programming by this paradigm.

Here you can find some more details about the OOP:
http://en.wikipedia.org/wiki/Object-oriented_programming[^]

Once you cleared the concepts, please ask a concrete question.

Cheers!
 
Share this answer
 
Comments
Espen Harlinn 5-Oct-11 16:46pm    
Good points :)
Sergey Alexandrovich Kryukov 5-Oct-11 17:14pm    
Hm, I could not stand adding my answer, as the lifetime user. :-)
--SA
Sergey Alexandrovich Kryukov 5-Oct-11 17:14pm    
Yes, good points, my 5.

Now, please see the information and judgment from the lifetime user of Delphi and almost lifetime user of all its predecessors. No, don't mean my lifetime, I mean lifetime of Deplhi which I used from day zero, as well as Borland (Object) Pascal and most of the lifetime of Turbo Pascal.
--SA
Delphi is a derivative of Object Pascal, a derivative of Borland Turbo Pascal, also very much object-oriented. As to Delphi, this is one of the most advanced object-oriented languages and libraries, some features are more advanced than that of .NET (and some are less).

Finally, Delphi is the most direct predecessor of both C# and .NET. All of the above was created by the same chief architect — Anders Hejlsberg, see http://en.wikipedia.org/wiki/Anders_Hejlsberg[^].

See also: http://en.wikipedia.org/wiki/Delphi_%28Computer_Language%29[^].

So, you can have one of the most advanced OOP environments with Delphi. However, for all practical purposes I would rather recommend .NET and C#.

—SA
 
Share this answer
 
Comments
Mario Majčica 5-Oct-11 18:28pm    
Well I was just a kid at the time of Turbo Pascal, and I was more into the Quick Basic at that time! I know I know, there was no internet at that time and that was only thing available! Imagine that in the city library they have neither one book about the programming!

Good retrospective, my 5! ;)
Sergey Alexandrovich Kryukov 5-Oct-11 18:33pm    
Thank you, Mario.
I don't have to imagine :-) I got some access to Internet some ten years after I was already serious about programming, some 5 years after I've done pretty serious developments.
--SA
Use it the same way you'd use it for any application in delphi and not java.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900