Design Patterns - brief rant

I'm actually decide to get real serious about learning Design Patterns at work.. Well, let's say, I'm learning it more on my own than my work is making me learn it, because there Design Patterns in the source code which I debug in. I mean I had been debugging in the code and been exposed to DP for a while, but I never really delve deeper into it, even though I know what this are. But knowing what they are and then try to code it out from scratch are 2 separate things. If you can code it out from scratch, and better yet, apply it to real programs, you know DP.

So I'm taking this chance to explain as much DP as possible on this blog so that I can share what I think I learn to reinforce the knowledge and also hopefully knowledge readers can provide feedback with more examples or even correct me if I'm wrong.

Obviously, the software I debug it does not use all 23 plus DP that are known out there by the Gang of Four. But I will try and publish on the blog the ones which I think I truly know and seen it in action. If I never seen it in real application actions, I will mention it.

Also each DP I mention will be backed by examples, diagram and source code in C++. (too many out there use java). I will also probably do only one at a time, so I don't overwhelm anyone. I will try to make it as nice and clean and simple as possible so people will come back and ask for more. So until next time... which I will start off with the most basic and common DP of all - Singleton.

No comments: