Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 21 of 21

Thread: Understanding OOP

  1. #1
    Junior Member
    Join Date
    May 2014
    Location
    manila, philippines
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Understanding OOP

    MODERATOR EDIT: This thread is a continuation of the following: http://www.javaprogrammingforums.com...exercices.html
    Moved to keep that thread on topic and give this discussion its own place.


    Quote Originally Posted by KevinWorkman View Post
    The best way to understand is by practicing.

    OP, you also might want to check out Code Hunt: https://www.codehunt.com/
    maybe you mean the best way to master it is practicing?

    because if you just keep practicing.... typing codes.... memorizing syntaxes.... without understanding it first, i think it's a waste of time.
    learning the syntax, variables, memorizing them, keep typing until you understand it... it's really a waste of time.

    OP should be teached with with illustration... like drawings.... when it says a PERSON.... should be drawn as a person (or a box)... lol... seriously.... and SHOW only the codes that matters on that point (NOT the whole whack of java different variables and routines).

    i personally believe that once you reached that level where in your mind you can actually see (literally) objects interacting which each other......or....that level where you can model pretty much anything (even your tootbrush).... that is it, you're a programmer already and you just need to PRACTICE from that point on..

    with all due respect, www.codehunt.com, is just one of the many tutorial sites that does not caters to understanding the concept of java OP. especially for beginners.
    i've seen youtube tutorials where they all start with "public static void main(String[] args)... etc etc..".... i was able identify which code does this and that....i was good with it.
    but when i was asked to do a very "simple database" of students....... i went blank.... because i did not understand the concept of OP. all i have are bunch of java syntax in my mind that I don't know how to use.


    that's just me..
    would love to write an OOP tutorial here for beginners if moderator allows me.... complete with illustrations... later
    Last edited by johnbee; June 2nd, 2014 at 12:40 PM.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: in need of some exercices?

    You're talking about teaching the theory before the basics, which is pretty demonstrably not the way to go. There's a reason beginner classes and tutorials focus on basic syntax before worrying about things like data structures and OOP.

    You are entitled to your opinion, but telling the OP that he needs to understand OOP before he can practice syntax is a bit like saying you need to learn how the space shuttle works before learning how to drive a car.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    May 2014
    Location
    manila, philippines
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: in need of some exercices?

    i believe in Java, you need to understand OOP first..... in my experience.
    if not after, ALONG with it (but you only need a bit of syntac. not the WHOLE whack of it)

    for instance.... to model a STUDENT... you probably need String, int, double to start with. and 3 get method and 3 set methods... that's it. i think that's simple.

    but correct me still if am wrong...

    honestly, in my, in my 1 week of self-studying OOP... i was able to write a game.... simple game, though, like a tic-tac-toe... and blackjack... all console
    with going OOP first along with java syntax,

    with that short amount of time, i was able to write a simple database using LIST and HashMap..... and some hide-and-seek where a person can navigate through different rooms and levels and find stuffs..... all console.

    just because I went OOP first.

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: in need of some exercices?

    You say it's "that simple", but to a novice, the concept of OOP is something that simply can't be understood. Beginners need to practice until they understand what String, int, and double are before they can start thinking about combining them into OOP.

    The typical way to teach what you just described is by using parallel arrays first, then moving onto simple objects to organize data.

    And the best way to learn any of that is by practicing by coding more and more complicated projects.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    Junior Member
    Join Date
    May 2014
    Location
    manila, philippines
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: in need of some exercices?

    it all became TOO SIMPLE to me now because i understand OOP now..... and I can actually see object interacting in my mind.....
    I see things as an OBJECT...... I can make an OBJECT out of a String class....i can make hundreds of them if i want too. i can make that object do something for me because I know that object has "capabilities" to do something (they call it methods)....

    it's too simple now for me to make a database because I can see Student Objects "coming" in and out of the LIST....or MAP... without worrying about the syntax so much....

    i think that's very very critical to beginners. See THINGS or codes as an object. Don't you think? (at least in Java and other OOP languages)

    i think that's very very important in JAVA... to see THINGS as an OBJECT... ...for BEGINNERS or even experienced (if they have not seen their codes as an object yet)..
    Last edited by johnbee; June 2nd, 2014 at 01:08 PM.

  6. #6
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: in need of some exercices?

    Good for you, but a novice who doesn't yet understand basics like if statements and for loops has no framework for understanding more complicated things like data structures or OOP. The best way to learn those basics is by practicing, which is what the OP asked for.

    After you learn the basics, the more complicated semantics of the language will become more natural to you. And then, the best way to become more familiar with the more complicated aspects of programming... is by practicing some more.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: in need of some exercices?

    I understand your point of view, but I have to agree with Kevin here.

    What you worked hard at learning, was your own person way to get to where you are now.
    There is no one path to becoming a fantastic programmer - be it in any language. Personally,
    I know C very well - but that doesn't mean I consider myself a master at it. All of us are still
    learning different ways to approaching something - and what works for one person doesn't
    always work for another person (as the saying goes).

    [quote]think that's very very important in JAVA... to see THINGS as an OBJECT... [/code]

    I agree with you here - but like what Kevin said preciously, I had absolutely no idea what an object was.
    Coming from a procedural language as C which doesn't entertain objects at all (I am not talking about
    Objectiv-C btw). Yes it has structs and they resemble a class at the bare minimum that all data is defaulted
    as public and not private like C++ for example.

    I had to read a lot of things on Java before I leapt right in - and yes it was scary, I made sure I was
    confident to do it. But I had to practice what I knew to get good at C - and I am a mere novice at
    Java at the time of writing this - I do not ever expect to get a handle on it like I did/do have with C
    in a short time. Learning how to program comes from lots and lots of practice - you write a small
    program - you made a mistake - you learn from it. It takes time but eventually everything does
    sink in.

    I am not trying to be argumentative here at all, so please do not take this as criticism to what you
    stated. You made some very valid points - and they do have stance in learning how Java works. I am
    just saying that finding the pot of gold at the end of the rainbow is never the same for each of us.

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  8. #8
    Junior Member
    Join Date
    May 2014
    Location
    manila, philippines
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: in need of some exercices?

    a novice without knowledge of OBJECTS will only understand "if statement" as a validation..... or as plain day-to-day "words".. like, "if you bring me a glass of water, i can scratch your back." plain and simple.

    but what now? how can the novice use that in "practical" programming way? well, in my own opinion, that's a dead-end for "if statement" for him.

    but if you teach him FIRST......how to model a STUDENT....and how to MODEL a DATABASE..... and then create lots of Student Objects.... and add them to the Database Object.....(of course with matching illustration or drawings)....and then.... VALIDATE with "if statement" to make sure only female STUDENTS get to go in the Database....

    would that be more logical?



    i agree guys, it's probably my OWN best way..... of learning and MAYBE not applicable to everyone.... agree!....

    but i think this conversation is a HEALTHY one... arguments are there but i look it up as a professional ones... ... i think it's also good for real beginners to read...

    i am a gentleman here

  9. #9
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: in need of some exercices?

    Quote Originally Posted by johnbee View Post
    would that be more logical?
    No.

    You don't teach a kid how to read by teaching her about iambic pentameter and future-perfect tense verb conjugation first. You teach a kid how to read by going through the alphabet with her, then having her *practice* with simple words.

    As the kid practices simple words, she can move on to more complicated words, then sentences, paragraphs, and eventually entire books.

    You don't start her out by handing her a 1,000-page novel. Programming is the same thing.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  10. #10
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: in need of some exercices?

    Quote Originally Posted by johnbee View Post
    i am a gentleman here
    As am I a lady

    Anyways I do agree with what you said though - sometimes disagreements, even in a practical and
    professional one - can sprout good branches of knowledge and lead to new practices and learning curves.

    Think back to when you first learnt programming - was it a OOP language that you dipped your toe in?
    In that case - yes - of course you have a good head start in what an object is - and if it wasn't OOP, then you
    knew you had to learn things a different way and think about other possibilities than just:

    #include <stdio.h>
     
    int main()
    {
       callMeMaybe();
    }
     
    void callMaybe()
    {
        puts("Here's my number...");
    }

    Bare in mind that ^^ is coming from the bare minimal procedural programming knowledge.
    Hence it has no objects. To move from something as basic as that - to OOP entails a person to
    think outside the box - "Hey, why can't I just declare a function in the global space of the source
    file? Why does it have to be restricted to the local namespace of a class?: It's all about building
    blocks - taking it one step at a time

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  11. #11
    Junior Member
    Join Date
    May 2014
    Location
    manila, philippines
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: in need of some exercices?

    Quote Originally Posted by KevinWorkman View Post
    No.

    You don't teach a kid how to read by teaching her about iambic pentameter and future-perfect tense verb conjugation first. You teach a kid how to read by going through the alphabet with her, then having her *practice* with simple words.

    As the kid practices simple words, she can move on to more complicated words, then sentences, paragraphs, and eventually entire books.

    You don't start her out by handing her a 1,000-page novel. Programming is the same thing.
    of course you cannot do that to a kid.

    BUT you can teach the kid "how to put that CUP inside the bucket".... simple.... without any word or saying anything... JUST BY looking at how the OBJECT move into the bucket.

    that 1000-page novel? that's how the usual tutorials out there does.... teach you all the SYNTAX....... to which I oppose.
    (BTW, in my opinion, it only takes 5 hours to teach OOP... not even... until a beginner find that EUREKA! moment)

    OOP is very very simple to teach.... DRAW a BOX (which represent) a Person.... DRAW another box which represent a DATABASE (list or map in this case)... and that is it.

    how to do you put that in code, well, You need to understand what a PERSON is... is has height, it has weight, it has sex....how to put that in code..... private double height, private double weight, private String sex...


    that's it, very very simple.... you don't need a whole whack of syntax that goes around the bush..

    I guess ALL am saying is there should be more EMPHASIS on understanding OOP first before syntax...

    oh, i've done PROCEDURAL programming before (from BASIC, Pascal, Cobol Dbase3)....... but for some reason, I am enjoying OOP way more now..
    Last edited by johnbee; June 2nd, 2014 at 02:09 PM.

  12. #12
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: in need of some exercices?

    Some people may think the opposite - in fact I know a few who have started off with C# and HATED the whole object talk - so they went to procedural and found it much
    easier going. I guess it all depends on what an individual can get a grip on and enjoy it.
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  13. #13
    Junior Member
    Join Date
    May 2014
    Location
    manila, philippines
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: in need of some exercices?

    Quote Originally Posted by Ada Lovelace View Post
    Some people may think the opposite - in fact I know a few who have started off with C# and HATED the whole object talk - so they went to procedural and found it much
    easier going. I guess it all depends on what an individual can get a grip on and enjoy it.
    i agree 100%..

    i personally learn faster through visual (if explained visually for instance)....

  14. #14
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: in need of some exercices?

    Quote Originally Posted by johnbee View Post
    BUT you can teach the kid "how to put that CUP inside the bucket".... simple.... without any word or saying anything... JUST BY looking at how the OBJECT move into the bucket.

    that 1000-page novel? that's how the usual tutorials out there does.... teach you all the SYNTAX....... to which I oppose.
    That doesn't really have anything to do with anything. Programming = reading and writing. Can you teach a kid how to write a sentence about the cup and bucket just by showing them the cup and bucket? Nope. Even if a person "understood" your OOP explanation, it gives them absolutely zero knowledge about actually programming.

    Quote Originally Posted by johnbee View Post
    (BTW, in my opinion, it only takes 5 hours to teach OOP... not even... until a beginner find that EUREKA! moment)

    OOP is very very simple to teach.... DRAW a BOX (which represent) a Person.... DRAW another box which represent a DATABASE (list or map in this case)... and that is it.
    I can tell you've never taught OOP to anybody. And that's okay, but it's MUCH harder than you're making it sound.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  15. #15
    Junior Member
    Join Date
    May 2014
    Location
    manila, philippines
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: in need of some exercices?

    Quote Originally Posted by KevinWorkman View Post
    That doesn't really have anything to do with anything. Programming = reading and writing. Can you teach a kid how to write a sentence about the cup and bucket just by showing them the cup and bucket? Nope. Even if a person "understood" your OOP explanation, it gives them absolutely zero knowledge about actually programming.



    I can tell you've never taught OOP to anybody. And that's okay, but it's MUCH harder than you're making it sound.
    you're way off the track now. let me get you back to the right track of our argument.

    cup and bucket? that's OOP.....
    let me give you few more.... Apple and a Basket....... Dog and an AnimalDaycare.....Student and a Database.....Message and MessageInbox.......
    if you still don't get where i am going with this, i bet you don't have a good understanding of OOP yet (with all due respect).......

    do you want me to put those SAMPLES in code for you so you can see how SIMPLE and EASY it is to program in Java WHEN you have a good understanding of OOP first?

    ....Kevin, all am just saying is that a good SOLID understanding of OOP concept is more important to beginners to achieve FIRST than memorizing code syntaxes.... and the big advantage of this is that OOP applies to some other programming languages (not only Java) ..... like C++, C#, PHP, Phython, VB, etc.....and also means that when you have a good understanding of OOP, it's easy to apply that to other OOP languages.

    i've seen forum members here posting their codes..... and they don't even know what it means. they know how to write it but have no clue what it really does....or when they get stuck, it's a dead-end for them.

    oh, and actually, it does not take 5 hours.... it's possible to understand OOP in 1 or 2 hours only (up to the eureka! moment)... honestly.

    yes, i have not taught OOP yet in my life. This is my first, with you.

    peace!
    Last edited by johnbee; June 4th, 2014 at 03:40 PM.

  16. #16
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Understanding OOP

    This thread is a continuation of the following: http://www.javaprogrammingforums.com...exercices.html
    Moved to its own thread to keep that thread on topic and give this discussion its own place.

  17. #17
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: in need of some exercices?

    Quote Originally Posted by johnbee View Post
    i bet you don't have a good understanding of OOP yet
    Not sure why you're going the route of personal attacks, but without listing my credentials here, I can assure you that I understand OOP perfectly. Understanding it and teaching it are two different things.

    Quote Originally Posted by johnbee View Post
    all am just saying is that a good SOLID understanding of OOP concept is more important to beginners to achieve FIRST than memorizing code syntaxes
    And I'm saying that you're wrong. Every tutorial, book, and lesson plan I've ever seen agrees that you're wrong. My firsthand experience teaching novices agrees that you're wrong.

    Even if a novice understands your analogies perfectly, they **will not** be able to translate that into programming without knowing some syntax first. You can talk about the ideas behind OOP to give novices a bit of an idea where you're headed with your lesson, but those ideas won't really become clear until they can play with them in code. And to do that, they need to know the basic syntax.

    Quote Originally Posted by johnbee View Post
    oh, and actually, it does not take 5 hours.... it's possible to understand OOP in 1 or 2 hours only (up to the eureka! moment)... honestly.
    Like I said, it's obvious that you've never taught OOP.

    Quote Originally Posted by johnbee View Post
    yes, i have not taught OOP yet in my life. This is my first, with you.
    Right.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  18. #18
    Member Abhilash's Avatar
    Join Date
    Jun 2014
    Location
    Kolkata, West Bengal, INDIA
    Posts
    108
    My Mood
    Busy
    Thanks
    5
    Thanked 10 Times in 10 Posts

    Default Re: Understanding OOP

    Sorry to interrupt, but please settle this like Gentlemen. This is not Facebook. It is Java Programming Forum.
    Now how to settle it like gentlemen, I say, forget it. Lets have some peace.

  19. #19
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: Understanding OOP

    oh, and actually, it does not take 5 hours.... it's possible to understand OOP in 1 or 2 hours only (up to the eureka! moment)... honestly.
    I'm sorry but that is ridiculous!

    Have you ever tried to learn an Object-Orientated Language? To the full. Do you have some idea about how long it takes to learn Polymorphism,
    Inheritance, Class abstraction, data hiding and encapsulation? I'l tell you one thing - if anyone can learn all that and more in two hours - then
    I think that person would rival even the world's best programmers.

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  20. The Following 2 Users Say Thank You to Ada Lovelace For This Useful Post:

    copeg (June 5th, 2014), KevinWorkman (June 5th, 2014)

  21. #20
    Junior Member
    Join Date
    Feb 2014
    Location
    Finland
    Posts
    25
    My Mood
    Bored
    Thanks
    3
    Thanked 5 Times in 5 Posts

    Default Re: in need of some exercices?

    I thought i'd throw in my two cents on the issue.

    I am not one to usually push for compromises but i think there is a middle ground here to be found.
    I went the C->C++->Java route with mastering the syntax and understanding the low level -first before moving in to the more abstract and conceptual world of OO. And from time to time, i wonder if it was the right order. Especially since nowadays the IDE's are so exceptionally good for taking care of the syntax for most of stuff.

    Maybe im just grumpy that the younger generations don't need to do the whole
    vi->edit->gcc->"Error: Stack overflow"->pull hairs->vi -rinse'n'repeat cycle and can actually concentrate on the concepts and ideas rather than hunt for the erroneous pointer or a buffer that wasn't memory managed properly. But yes, i definitely agree with Kevin above that without a decent understanding of the basics: syntax and how computer and especially memory works, its no use to go on to the advanced stuff.

    The amount of knowledge is in question tho! I don't really really agree with the many tutorials that dwell deep in to precision of types, different utilities and control flow nuances before introducing the conceptual thinking and OO basics. Especially in schools where the first few courses often have as their first exams about pointer calculation and syntax. That can be very down putting and gives quite wrong picture of today's programming that in actuality isn't about remembering the ';'s and parenthesis but being able to grasp concepts and understand patterns. Back in my university days i recall quite a few people switching to networking from the software side because of the *in my opinion* wrong order of teaching. They got to see the boring stuff but not get a glimpse of the awesome and beautiful side of the programming.

    I'd think that giving the students a little taste of how to model a concept with database tables and how it translates in to software OO would help to set a goal of sorts to them. A kind of "oh, i want to make a Student - Class - Grade -structure, lets see how i would make it syntax wise". It could motivate to go through the, lets face it, often boring syntax exercises. After the 100th "Ask numbers from the user, sort them by <algorithm scheme>" -exercise i can totally understand someone saying "screw this".
    Maybe. I don't know, i'm no teacher .

    But again, expecting people to be able to grasp the full power of OOP without actually knowing how to program is just silly. Statements like
    Originally Posted by johnbee View Post
    oh, and actually, it does not take 5 hours.... it's possible to understand OOP in 1 or 2 hours only (up to the eureka! moment)... honestly.
    are just absolutely not true. You might get a faint grasp of the idea and some terminology, but actually knowing OOP, being able to use it effectively and think up and realize design patterns and implement them in OO-way takes years to learn and even longer to master.

    So whilst learning the syntax and very basic concepts like "application, variable, statement" maybe a little bit of "think about a cat. and a dog. they are both animals but yet they differ.." -kind of thinking?

    Oh dear, this came out as a wall of text Sorry!

  22. #21
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: Understanding OOP

    Especially since nowadays the IDE's are so exceptionally good for taking care of the syntax for most of stuff.
    Personally, that is one of things I detest about modern IDE's. Code Completion and tips is a good idea - and it does help a person
    out from having to type the entire statement out, but that is a feature I always turn off. Maybe I am being bias and I like typing,
    however, I do find that not having the IDE bring up a endless menu of all the classes associated with the object, makes me have
    to physically memorise exactly what the class is and how to spell it etc. - Again just my personal view on the matter

    vi->edit->gcc->"Error: Stack overflow"->pull hairs->vi -rinse'n'repeat cycle
    I've been there my friend - as have most members on this forum i'm guessing. Coming from a strict C background
    gives you nightmares that may forever haunt you. Especially when the solution was staring you in the face

    The amount of knowledge is in question tho! I don't really really agree with the many tutorials that dwell deep in to precision of types, different utilities and control flow nuances before introducing the conceptual thinking and OO basics.
    Now this I also agree with to an extent. I do feel it is vital to learn most principles of structured programming concepts,
    and going by some books I own or have owned on various languages, they do seem to dwell too long on a simplistic
    subject such as what a int is, what an if statement is etc. I also understand that some people find it harder to understand it
    than others, and thats O.K - learning is half the fun. But does a novice really need to know all this spread over a
    ridiculous amount of pages and lectures Before he/she has even touched a class? No - in my view
    KeepItSmartKeepItSimple applies here.

    Overall - great read and a fair and accurate argument and addition to the discussion. Thank you!

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

Similar Threads

  1. OOP
    By SulemanAyub786 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: June 1st, 2014, 03:05 PM
  2. how to understand oop
    By tolitx in forum What's Wrong With My Code?
    Replies: 2
    Last Post: August 30th, 2013, 06:48 AM
  3. OOP and java
    By ~Kyo~ in forum Object Oriented Programming
    Replies: 6
    Last Post: January 22nd, 2013, 04:24 AM
  4. OOP help!
    By imaznumkay in forum Object Oriented Programming
    Replies: 3
    Last Post: July 11th, 2011, 01:43 PM
  5. OOP
    By mgutierrez19 in forum Object Oriented Programming
    Replies: 2
    Last Post: November 29th, 2009, 10:10 PM