OOPS, deisgn patterns and principles
-
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! :)
-
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! :)
-
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! :)
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.[^]
-
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! :)
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
-
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
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.
-
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.
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[^]
-
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! :)
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
-
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
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.[^]