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 and average programmers!

OOP and average programmers!

Scheduled Pinned Locked Moved The Lounge
designhelpquestion
6 Posts 5 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.
  • D Offline
    D Offline
    dl4gbe
    wrote on last edited by
    #1

    Hallo, I try to programm all my programming tasks using OOP. It's so convienent to extend functionality through classes and add new features through inheritage. Also it's easy to plan and control the development with the help of OOP. I think I do not produce too much bad code using OOP. The negative side effect: The programs tend not to be effective and fast. :(( But: maybe I am just an average or weak programmer. Maybe I just use OOP because I am not able to plan a program carefully enough before starting coding. Maybe OOP just covers up my bad design. :doh: Is OOP just good for the average and weak programmer. Is it possible to produce more efficient code not using OOP? Chris ;) -- modified at 23:38 Sunday 19th February, 2006

    E S Richard Andrew x64R D N 5 Replies Last reply
    0
    • D dl4gbe

      Hallo, I try to programm all my programming tasks using OOP. It's so convienent to extend functionality through classes and add new features through inheritage. Also it's easy to plan and control the development with the help of OOP. I think I do not produce too much bad code using OOP. The negative side effect: The programs tend not to be effective and fast. :(( But: maybe I am just an average or weak programmer. Maybe I just use OOP because I am not able to plan a program carefully enough before starting coding. Maybe OOP just covers up my bad design. :doh: Is OOP just good for the average and weak programmer. Is it possible to produce more efficient code not using OOP? Chris ;) -- modified at 23:38 Sunday 19th February, 2006

      E Offline
      E Offline
      Edbert P
      wrote on last edited by
      #2

      dl4gbe wrote:

      Maybe OOP just covers up my bad design.

      Maybe. OOP doesn't have anything to do with your program not being effective and fast. Bad software tend to be the result of bad planning and lazy programming. My suggestion is to understand what you're doing instead of simply getting the job done. Edbert Sydney, Australia

      1 Reply Last reply
      0
      • D dl4gbe

        Hallo, I try to programm all my programming tasks using OOP. It's so convienent to extend functionality through classes and add new features through inheritage. Also it's easy to plan and control the development with the help of OOP. I think I do not produce too much bad code using OOP. The negative side effect: The programs tend not to be effective and fast. :(( But: maybe I am just an average or weak programmer. Maybe I just use OOP because I am not able to plan a program carefully enough before starting coding. Maybe OOP just covers up my bad design. :doh: Is OOP just good for the average and weak programmer. Is it possible to produce more efficient code not using OOP? Chris ;) -- modified at 23:38 Sunday 19th February, 2006

        S Offline
        S Offline
        Super Lloyd
        wrote on last edited by
        #3

        As the other guy said. Focus on the job being done nicely instead of writing OO code. Code efficiency (that is: 1. maintainability, 2. performance, 3. reusability) should be your primary goals. OO should just come naturally. Don't worry if it doesn't, I guess it just take a bit of getting used to it.

        1 Reply Last reply
        0
        • D dl4gbe

          Hallo, I try to programm all my programming tasks using OOP. It's so convienent to extend functionality through classes and add new features through inheritage. Also it's easy to plan and control the development with the help of OOP. I think I do not produce too much bad code using OOP. The negative side effect: The programs tend not to be effective and fast. :(( But: maybe I am just an average or weak programmer. Maybe I just use OOP because I am not able to plan a program carefully enough before starting coding. Maybe OOP just covers up my bad design. :doh: Is OOP just good for the average and weak programmer. Is it possible to produce more efficient code not using OOP? Chris ;) -- modified at 23:38 Sunday 19th February, 2006

          Richard Andrew x64R Offline
          Richard Andrew x64R Offline
          Richard Andrew x64
          wrote on last edited by
          #4

          My take on it is this: If you really do have weak design skills, then OOP actually helps you to end up with a better program than you would end up with otherwise. It provides a boost for your skills. OOP was created in the first place to make extremely complex programs be understandable by mere humans. So, in my opinion, it can help you produce a program that is more advanced than you could produce without OOP. :cool: Good luck, Rich

          1 Reply Last reply
          0
          • D dl4gbe

            Hallo, I try to programm all my programming tasks using OOP. It's so convienent to extend functionality through classes and add new features through inheritage. Also it's easy to plan and control the development with the help of OOP. I think I do not produce too much bad code using OOP. The negative side effect: The programs tend not to be effective and fast. :(( But: maybe I am just an average or weak programmer. Maybe I just use OOP because I am not able to plan a program carefully enough before starting coding. Maybe OOP just covers up my bad design. :doh: Is OOP just good for the average and weak programmer. Is it possible to produce more efficient code not using OOP? Chris ;) -- modified at 23:38 Sunday 19th February, 2006

            D Offline
            D Offline
            dl4gbe
            wrote on last edited by
            #5

            Hello OOP always involves overhead. You always only use parts of an object. So everything you do not use is waste of resources. I guess I could produce more effective programs (in term of speed and memory consumption.) not using OOP But: In my case, Not using OOP always ends up in Spaghetti Code. So, I guess I have to stick with OOP, so my code is readable, reusable, extendable. My colleges are using Pearl and C non object oriented. I always complain their code is unreadable. But often their programs are more effective in term of memory and speed than my programs written in .Net. :((

            1 Reply Last reply
            0
            • D dl4gbe

              Hallo, I try to programm all my programming tasks using OOP. It's so convienent to extend functionality through classes and add new features through inheritage. Also it's easy to plan and control the development with the help of OOP. I think I do not produce too much bad code using OOP. The negative side effect: The programs tend not to be effective and fast. :(( But: maybe I am just an average or weak programmer. Maybe I just use OOP because I am not able to plan a program carefully enough before starting coding. Maybe OOP just covers up my bad design. :doh: Is OOP just good for the average and weak programmer. Is it possible to produce more efficient code not using OOP? Chris ;) -- modified at 23:38 Sunday 19th February, 2006

              N Offline
              N Offline
              Nick_Kisialiou
              wrote on last edited by
              #6

              Hi Chris, I would recommend to look into the following book: Craig Larman "Applying UML and Patterns : An Introduction to Object-Oriented Analysis and Design and Iterative Development" (3rd Edition) http://www.amazon.com/gp/product/0131489062/sr=8-1/qid=1140426442/ref=sr\_1\_1/104-8162030-4383146?_encoding=UTF8 The major difference between this book and other books, is that it outlines what exactly is important, what you should pay attention to during OOP and most important HOW you construct your classes so that your program is efficient, reusable and easy to maintain. On top of it, the book introduces OOP in the context of the iterative development process. Take a look at its amazon ranking, other people seem to like it as well as me. Nick

              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