Good online explanation of OOP?

  • Thread starter Thread starter aychamo
  • Start date Start date
  • Tags Tags
    Explanation Oop
Click For Summary
SUMMARY

The discussion centers on finding quality online resources for understanding Object-Oriented Programming (OOP), particularly for someone transitioning from sequential programming to C#. Key recommendations include the Object-Oriented Analysis and Design book by Grady Booch and two specific online articles: "OOP Basics" from TOA and "Introduction to Object-Oriented Programming" by Budd. Participants clarify that in OOP, variables are referred to as attributes, and the use of public getter and setter methods is a standard practice for accessing these attributes.

PREREQUISITES
  • Basic understanding of programming concepts, particularly sequential programming.
  • Familiarity with C# and its syntax.
  • Knowledge of methods and functions in programming.
  • Awareness of the concept of classes and inheritance in OOP.
NEXT STEPS
  • Read the Object-Oriented Analysis and Design book by Grady Booch.
  • Study the "OOP Basics" article from TOA.
  • Explore the "Introduction to Object-Oriented Programming" by Budd.
  • Practice implementing getter and setter methods in C# to manage object attributes.
USEFUL FOR

Beginner programmers, especially those transitioning from procedural programming to Object-Oriented Programming in C#, and anyone seeking to understand the foundational concepts of OOP.

aychamo
Messages
375
Reaction score
0
Hey guys

Does anyone know of an excellent online source that can explain the basics of OOP? I grew up not using OOP, just using the normal style of programming (and its' name escapes me now). You know, just line by line, ahh, yes, sequential.

I understand the very extreme basics, like a child class inside of a class can inherit properties from it's parent class. And I think methods are like procedures/functions. ..

I ask because I downloaded SharpDevelop and I'd like to start messing around in C#. I'm going to try a simple program just to get used to things. I see all these get and put methods, and it seems there are no variables anymore? I dunno.

Any links? Thank you kindly.
 
Computer science news on Phys.org
The Object Oriented Analysis and Design book from Booch is almost the best guide to object orientation. But since you want sources from the www you can find this article very useful
http://www.toa.com/pub/OOBasics.pdf

There's another excellent source for those who got used to other programming paradigms such as structured programming, and want to transit to OOP. Indeed this is the article which my supervisors had suggested years ago to me to read and the one from which I learned OO concepts and their justification. I suggest you to read it all because it is also very entertaining.
http://web.engr.oregonstate.edu/~budd/Books/oopintro2e/info/chap01.pdf

I see all these get and put methods, and it seems there are no variables anymore? I dunno.
Yes, there exist variables in OOP but they are called attributes and are embedded within objects. Public set and get methods are just needed to make these attributes accessible to other objects, because it's considered a good practice to put attributes as private. You can have intermediate variables also inside methods. In hybrid languages like C++ you can have them in main() or global outside main().
 
Last edited by a moderator:

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
8K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 43 ·
2
Replies
43
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 53 ·
2
Replies
53
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K