Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. OOP, why, how and when????

OOP, why, how and when????

Scheduled Pinned Locked Moved The Lounge
csharpoopquestiondiscussionlearning
19 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    egyamado
    wrote on last edited by
    #1

    OK. I’ve been told “to be a good developer you have to know well OOP (Object Oriented Programming) in depth” right?:confused: I searched for a good and an easy book to understand and talk more about “why”, it wasn’t easy. On the other hand some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think? Or just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code???

    P K realJSOPR M C 7 Replies Last reply
    0
    • E egyamado

      OK. I’ve been told “to be a good developer you have to know well OOP (Object Oriented Programming) in depth” right?:confused: I searched for a good and an easy book to understand and talk more about “why”, it wasn’t easy. On the other hand some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think? Or just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code???

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      egyamado wrote:

      some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think?

      That's very helpful.

      egyamado wrote:

      just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code?

      No. That is not enough. Just knowing OOP in depth does not necessarily constitute someone as a good developer. There's more to it than that. Practice coding with OOP also necessary.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

      1 Reply Last reply
      0
      • E egyamado

        OK. I’ve been told “to be a good developer you have to know well OOP (Object Oriented Programming) in depth” right?:confused: I searched for a good and an easy book to understand and talk more about “why”, it wasn’t easy. On the other hand some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think? Or just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code???

        K Offline
        K Offline
        Kevin McFarlane
        wrote on last edited by
        #3

        egyamado wrote:

        Object-Oriented Software Construction (2nd Edition)

        Yes, that's worth examining. I also recommend the book, Design Patterns Explained: A New Perspective on Object-Oriented Design[^]. What's good about this book is that it takes a problem-based approach. Starts with procedural code example, explains what's wrong with that, presents conventional OO solution, explains what's wrong with that, then presents design patterns and explains how they solve the problems identified previously. In fact, I would start with this book before looking at OOSC.

        Kevin

        G 1 Reply Last reply
        0
        • K Kevin McFarlane

          egyamado wrote:

          Object-Oriented Software Construction (2nd Edition)

          Yes, that's worth examining. I also recommend the book, Design Patterns Explained: A New Perspective on Object-Oriented Design[^]. What's good about this book is that it takes a problem-based approach. Starts with procedural code example, explains what's wrong with that, presents conventional OO solution, explains what's wrong with that, then presents design patterns and explains how they solve the problems identified previously. In fact, I would start with this book before looking at OOSC.

          Kevin

          G Offline
          G Offline
          Giorgi Dalakishvili
          wrote on last edited by
          #4

          There is a second edition too Design Patterns Explained: A New Perspective on Object-Oriented Design (2nd Edition) [^]

          Giorgi Dalakishvili #region signature my articles My blog[^] #endregion

          K 1 Reply Last reply
          0
          • E egyamado

            OK. I’ve been told “to be a good developer you have to know well OOP (Object Oriented Programming) in depth” right?:confused: I searched for a good and an easy book to understand and talk more about “why”, it wasn’t easy. On the other hand some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think? Or just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code???

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            That's like saying to be good at sex, you have to have a large love missile. More importantly, it's how your missile performs once it detaches from the gantry.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            P D B O L 5 Replies Last reply
            0
            • G Giorgi Dalakishvili

              There is a second edition too Design Patterns Explained: A New Perspective on Object-Oriented Design (2nd Edition) [^]

              Giorgi Dalakishvili #region signature my articles My blog[^] #endregion

              K Offline
              K Offline
              Kevin McFarlane
              wrote on last edited by
              #6

              Yep, I was aware of that. I should have posted that link instead. :doh: I own the first edition.

              Kevin

              1 Reply Last reply
              0
              • realJSOPR realJSOP

                That's like saying to be good at sex, you have to have a large love missile. More importantly, it's how your missile performs once it detaches from the gantry.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                P Offline
                P Offline
                Paul Conrad
                wrote on last edited by
                #7

                Nice way of putting it :laugh:

                "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                1 Reply Last reply
                0
                • realJSOPR realJSOP

                  That's like saying to be good at sex, you have to have a large love missile. More importantly, it's how your missile performs once it detaches from the gantry.

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  D Offline
                  D Offline
                  DavidNohejl
                  wrote on last edited by
                  #8

                  But having large love missile may land you job in the industry ;)


                  [My Blog]
                  "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
                  "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

                  E 1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    That's like saying to be good at sex, you have to have a large love missile. More importantly, it's how your missile performs once it detaches from the gantry.

                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                    -----
                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                    B Offline
                    B Offline
                    BonshatS
                    wrote on last edited by
                    #9

                    John Simmons / outlaw programmer wrote:

                    More importantly, it's how your missile performs once it detaches from the gantry.

                    Detaches ?!:~ Are there ferrets involved?

                    1 Reply Last reply
                    0
                    • realJSOPR realJSOP

                      That's like saying to be good at sex, you have to have a large love missile. More importantly, it's how your missile performs once it detaches from the gantry.

                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                      -----
                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                      O Offline
                      O Offline
                      Oakman
                      wrote on last edited by
                      #10

                      John Simmons / outlaw programmer wrote:

                      More importantly, it's how your missile performs once it detaches from the gantry.

                      Especially if it has a multiple independently targetable reentry warhead. ;)

                      Jon Smith & Wesson: The original point and click interface

                      1 Reply Last reply
                      0
                      • E egyamado

                        OK. I’ve been told “to be a good developer you have to know well OOP (Object Oriented Programming) in depth” right?:confused: I searched for a good and an easy book to understand and talk more about “why”, it wasn’t easy. On the other hand some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think? Or just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code???

                        M Offline
                        M Offline
                        Marc Clifton
                        wrote on last edited by
                        #11

                        Well, you could read my article What's Wrong With Objects[^] and come away with a biased opinion. :) Marc

                        Thyme In The Country Interacx My Blog

                        M 1 Reply Last reply
                        0
                        • E egyamado

                          OK. I’ve been told “to be a good developer you have to know well OOP (Object Oriented Programming) in depth” right?:confused: I searched for a good and an easy book to understand and talk more about “why”, it wasn’t easy. On the other hand some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think? Or just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code???

                          C Offline
                          C Offline
                          Christian Graus
                          wrote on last edited by
                          #12

                          To be honest, I think OOP, like a lot of programming, is something you understand how to use properly through experience. But, I am a firm advocate of buying books and working through them. I just think knowing how and when to use OOP comes only with time. Truth is, C# doesn't support any NON OOP code, nor does it allow for complex OOP, b/c it doesn't support multiple inheritance.

                          Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

                          1 Reply Last reply
                          0
                          • M Marc Clifton

                            Well, you could read my article What's Wrong With Objects[^] and come away with a biased opinion. :) Marc

                            Thyme In The Country Interacx My Blog

                            M Offline
                            M Offline
                            martin_hughes
                            wrote on last edited by
                            #13

                            Will there ever be a sequel, "What's right with objects?"?

                            Remember: Patience is a virtue of the poor

                            M 1 Reply Last reply
                            0
                            • M martin_hughes

                              Will there ever be a sequel, "What's right with objects?"?

                              Remember: Patience is a virtue of the poor

                              M Offline
                              M Offline
                              Marc Clifton
                              wrote on last edited by
                              #14

                              martin_hughes wrote:

                              Will there ever be a sequel, "What's right with objects?

                              Now there's a novel idea. But to do that, I'll have to change my whole life's attitude and start viewing the glass as half full! Marc

                              Thyme In The Country Interacx My Blog

                              M 1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                That's like saying to be good at sex, you have to have a large love missile. More importantly, it's how your missile performs once it detaches from the gantry.

                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                L Offline
                                L Offline
                                Leslie Sanford
                                wrote on last edited by
                                #15

                                John Simmons / outlaw programmer wrote:

                                More importantly, it's how your missile performs once it detaches from the gantry.

                                For some reason, this conjured up an image from Dr. Strangelove... :doh:

                                1 Reply Last reply
                                0
                                • E egyamado

                                  OK. I’ve been told “to be a good developer you have to know well OOP (Object Oriented Programming) in depth” right?:confused: I searched for a good and an easy book to understand and talk more about “why”, it wasn’t easy. On the other hand some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think? Or just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code???

                                  P Offline
                                  P Offline
                                  peterchen
                                  wrote on last edited by
                                  #16

                                  History lesson: Before OOP, the cool boys knew that, without knowing structured programming (roughly: you have functions and structures), you'd soon be useless and outdated. And it was good, since with these tools and the right modelling you could write programs with 5000 or more lines of source code, and they would still be maintainable! Joy! Of course, the joy didn't last, programs grew and around 50K, they started to become an unbearable mess again. OOP was the way out: it provided the tools that let you maintanin even larger programs. Life was good again! After some time, the same happened: programs outgrew what I would call "classic OOP" now. Its concepts have been extended by an emphasis on loosely coupled components, sometimes called component-oriented programming. It doesn't really replace OOP, though.

                                  Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

                                  modified on Sunday, September 28, 2008 2:58 AM

                                  1 Reply Last reply
                                  0
                                  • D DavidNohejl

                                    But having large love missile may land you job in the industry ;)


                                    [My Blog]
                                    "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
                                    "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

                                    E Offline
                                    E Offline
                                    El Corazon
                                    wrote on last edited by
                                    #17

                                    dnh wrote:

                                    But having large love missile may land you job in the industry Wink

                                    shhhh! someone may figure out how an accountant transferred to engineering!! my first boss was a woman too....

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      martin_hughes wrote:

                                      Will there ever be a sequel, "What's right with objects?

                                      Now there's a novel idea. But to do that, I'll have to change my whole life's attitude and start viewing the glass as half full! Marc

                                      Thyme In The Country Interacx My Blog

                                      M Offline
                                      M Offline
                                      martin_hughes
                                      wrote on last edited by
                                      #18

                                      Marc Clifton wrote:

                                      But to do that, I'll have to change my whole life's attitude and start viewing the glass as half full!

                                      In which case, here's an epiphany for you :) Do not concern yourself with the fullness of the glass, instead ask yourself who paid for it and, more importantly, what they want in return.

                                      Remember: Patience is a virtue of the poor

                                      1 Reply Last reply
                                      0
                                      • E egyamado

                                        OK. I’ve been told “to be a good developer you have to know well OOP (Object Oriented Programming) in depth” right?:confused: I searched for a good and an easy book to understand and talk more about “why”, it wasn’t easy. On the other hand some people recommend this book [Object-Oriented Software Construction (2nd Edition)]. What do you think? Or just enough to go through Wikipedia and other on line resources? Or just read C# documentation and I will get the “why”, “how” and “when” of using OOP in my code???

                                        M Offline
                                        M Offline
                                        Marc Clifton
                                        wrote on last edited by
                                        #19

                                        Don't forget that OOP is just missing one letter to turn it into OOPS! (Yes, I know I replied previously, but it's a new day, and new thought) Marc

                                        Thyme In The Country Interacx My Blog

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups