• Post Reply Bookmark Topic Watch Topic
  • New Topic

An epiphany in learning an oop language from books  RSS feed

 
Rob Fletcher
Greenhorn
Posts: 5
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if there are others out there like me. Spent hours reading to grasp the fundamentals and typing the examples, not quite understanding what you're typing.

That's the crux of my epiphany, the damned examples in books. You normally read like you read a story, from top to bottom. The problem is this story starts halfway down the page and you're reading the ending first, not quite understanding how you got there.

For some unknown reason, I decided to type each of the classes individually in one long example, starting with the first class after main. Bingo! Wazaam! Yahoo! OOP finally makes sense if you start at the beginning before the ending.

So my advice is: when typing out examples, break them up into their individual classes and leave main() to last. Then you will see how they relate and interact with each other. Hope this personal insight is a help to at least one person.
 
Ashish Dutt
Ranch Hand
Posts: 172
Java MySQL Database Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in a similar analogy, I too had quite difficulty grasping the OOP concepts at first but then i realised that its derived from our life instances.
Therefore, all i had to do was to relate it with life and it became quite lucid thereafter.
 
Rob Fletcher
Greenhorn
Posts: 5
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashish,

Perhaps I should have written "the implementation of OOP finally makes sense......"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!