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. OOPS, deisgn patterns and principles

OOPS, deisgn patterns and principles

Scheduled Pinned Locked Moved C#
comdesignarchitecturequestiondiscussion
8 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.
  • G Offline
    G Offline
    Govindaraj Rangaraj
    wrote on last edited by
    #1

    I would like to know where to find the OOPS/design patterns and principles discussion in code project, or is there any in here? Thanks, [More information] : I was looking for something like this: ^http://stackoverflow.com/questions/tagged/solid-principles[^] anyways thanks for the responses people! :)

    L K A G 4 Replies Last reply
    0
    • G Govindaraj Rangaraj

      I would like to know where to find the OOPS/design patterns and principles discussion in code project, or is there any in here? Thanks, [More information] : I was looking for something like this: ^http://stackoverflow.com/questions/tagged/solid-principles[^] anyways thanks for the responses people! :)

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

      OOPS and design patterns are different concepts. What's to discuss, outside of the definition the Wiki gives and the well-known patterns?

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

      1 Reply Last reply
      0
      • G Govindaraj Rangaraj

        I would like to know where to find the OOPS/design patterns and principles discussion in code project, or is there any in here? Thanks, [More information] : I was looking for something like this: ^http://stackoverflow.com/questions/tagged/solid-principles[^] anyways thanks for the responses people! :)

        K Offline
        K Offline
        Keith Barrow
        wrote on last edited by
        #3

        You are going to be better off either using the search built into code project than asking here. Ass Eddie says, OOP and design patterns are different concepts. You get design patterns for non-OO languages, though good OO-based design patterns help you adhere to OOP. You might want to search for the "Four Pillars of OO", there is a lot of stuff out there about this. You should learn, and more importantly understand, what they are, what they mean and how this expresses itself in your chosen language. You'll save yourself a world of pain and spaghetti code in the future if/when you manage this. Design Patterns generically are well-know (and defined) solutions to common problems. Really the pattern is a name given to such a thing,so we can discuss this as shorthand. The chances are you've actually used or implemented a pattern without knowing it. For example,c# events are an implementation of the observer pattern, so if you used an event you've unwittingly used an observer patter, There are lots of these patterns (and pseudo-patterns and anti-patterns) on the net - find out which the common ones are, and implement them.

        PB 369,783 wrote:

        I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

        1 Reply Last reply
        0
        • G Govindaraj Rangaraj

          I would like to know where to find the OOPS/design patterns and principles discussion in code project, or is there any in here? Thanks, [More information] : I was looking for something like this: ^http://stackoverflow.com/questions/tagged/solid-principles[^] anyways thanks for the responses people! :)

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          If you are looking for articles on OOPS just do a search here[^]. It should give you tons of information to sift through.

          Apps - Color Analyzer | Arctic | XKCD | Sound Meter | Speed Dial

          G 1 Reply Last reply
          0
          • A Abhinav S

            If you are looking for articles on OOPS just do a search here[^]. It should give you tons of information to sift through.

            Apps - Color Analyzer | Arctic | XKCD | Sound Meter | Speed Dial

            G Offline
            G Offline
            Govindaraj Rangaraj
            wrote on last edited by
            #5

            Am sorry for not being clear, I meant to say OOPS, Design principles and pattern. My intention was not to link OOPS with design patterns though. Anyways thanks to Abhinav S for sharing the link to search page. The intention of this question is to find any forum topic to go through some real-world issues faced on these concepts (wrong usage I mean) and the discussion about how to solve those, rather than going through the tutorials on Dog, cat, apple, mango, etc.

            L 1 Reply Last reply
            0
            • G Govindaraj Rangaraj

              Am sorry for not being clear, I meant to say OOPS, Design principles and pattern. My intention was not to link OOPS with design patterns though. Anyways thanks to Abhinav S for sharing the link to search page. The intention of this question is to find any forum topic to go through some real-world issues faced on these concepts (wrong usage I mean) and the discussion about how to solve those, rather than going through the tutorials on Dog, cat, apple, mango, etc.

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

              justgovi wrote:

              to go through some real-world issues faced

              There is no list of specific problems that get solved using OOPS/design patterns. You're looking at dishes where you can use a fork, while you should study the fork - that way you'll be able to explain why soup won't work, even without having a pointer to a previous real life pain. ..and we do have articles on various patterns that use "real world" examples. Yet, that's what they are; examples. An example of a for-loop does not show where a for-loop would be beneficial (compared to a while loop), it doesn't convey the abstract idea. As for the OO-principles, they're general guidelines. Each of those guidelines comes with a reasoning.

              justgovi wrote:

              wrong usage I mean

              Google for the anti-patterns and you'll find them; God objects, ravioli-code and much more.

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

              1 Reply Last reply
              0
              • G Govindaraj Rangaraj

                I would like to know where to find the OOPS/design patterns and principles discussion in code project, or is there any in here? Thanks, [More information] : I was looking for something like this: ^http://stackoverflow.com/questions/tagged/solid-principles[^] anyways thanks for the responses people! :)

                G Offline
                G Offline
                GuyThiebaut
                wrote on last edited by
                #7

                For design patterns grab yourself a copy of the Head First Design Patterns book - it's a decent introduction as it uses examples. The book does use Java as the language to illustrate the patterns however if you are familiar with C# this should be no problem.

                “That which can be asserted without evidence, can be dismissed without evidence.”

                ― Christopher Hitchens

                K 1 Reply Last reply
                0
                • G GuyThiebaut

                  For design patterns grab yourself a copy of the Head First Design Patterns book - it's a decent introduction as it uses examples. The book does use Java as the language to illustrate the patterns however if you are familiar with C# this should be no problem.

                  “That which can be asserted without evidence, can be dismissed without evidence.”

                  ― Christopher Hitchens

                  K Offline
                  K Offline
                  Keith Barrow
                  wrote on last edited by
                  #8

                  Seconded. This is a really good introduction to design patterns.

                  PB 369,783 wrote:

                  I just find him very unlikeable, and I think the way he looks like a prettier version of his Mum is very disturbing.[^]

                  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