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. General Programming
  3. C#
  4. OO Design

OO Design

Scheduled Pinned Locked Moved C#
comdesignhelpquestion
3 Posts 2 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.
  • K Offline
    K Offline
    KeithF
    wrote on last edited by
    #1

    Folks I had asked this question a couple of days ago and based on the response i have attempted to implement it, I posted a reply in the thread but it did not bump the topic so i'm just bumping here to see what the opinion of the experts here are: Here is a link to the codeproject post: http://www.codeproject.com/Messages/4625183/Re-OO-Design-for-Specifc-Problem.aspx[^] TIA

    L 1 Reply Last reply
    0
    • K KeithF

      Folks I had asked this question a couple of days ago and based on the response i have attempted to implement it, I posted a reply in the thread but it did not bump the topic so i'm just bumping here to see what the opinion of the experts here are: Here is a link to the codeproject post: http://www.codeproject.com/Messages/4625183/Re-OO-Design-for-Specifc-Problem.aspx[^] TIA

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      KeithF wrote:

      So basically before i carry on with my design I am wondering from an OO point of view if I am approaching this task in the right way or if what I am doing is overkill and could be greatly simplified?

      There is no clear and specific "right way" in OO; it's called OO once you structure your methods and data into objects. If you think the new code is more easily to maintain than the original code, than it'd be an improvement. If the new code looks "complex" or contains a lot of repetitions, then it'd be wise to re-evaluate the design. Is it an improvement (from your viewpoint), in terms of readability?

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      K 1 Reply Last reply
      0
      • L Lost User

        KeithF wrote:

        So basically before i carry on with my design I am wondering from an OO point of view if I am approaching this task in the right way or if what I am doing is overkill and could be greatly simplified?

        There is no clear and specific "right way" in OO; it's called OO once you structure your methods and data into objects. If you think the new code is more easily to maintain than the original code, than it'd be an improvement. If the new code looks "complex" or contains a lot of repetitions, then it'd be wise to re-evaluate the design. Is it an improvement (from your viewpoint), in terms of readability?

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

        K Offline
        K Offline
        KeithF
        wrote on last edited by
        #3

        Yeah i suppose it make the code more flexible going forward but does add a level of complexity that may make it harder for a newbie to just jump in to the code base.

        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