Thursday 22 February 2007

Patterns (Blog 1)

After doing research on Patterns,I have come to the point that Patters are solutions to a problem in a context. In order to make the software work efficiently in terms of performance and making the software in such a way that can be reused, it is therefore useful to use patterns while developing the software.

The main aim of patterns within the software linked people is to build a body to help software developers to solve the problems which are occurring concurrently during the software development. Patterns help us in creating a gateway which can communicate insight and get experience from the problems and their solution
In more simple words I would say the pattern is a thing which occurs in the world and tells us the rule how to create that thing and where there is a need to create it.
I found a very good quote by Albert Einstein which is a single line only but explains every thing about patterns. I would like to share it with every one

"Example isn't another way to teach; it's the only way"

Example:

One of the simplest understandable real world examples of Pattern is a student who is giving an exam in college. The duration of the exam is one hour in which he/she has to attempt two questions out of three. Student knew the answer of the questions which were asked in the question paper but due to slow handwriting and understanding the questions couldn’t able to complete the two questions and wasted time. Therefore, he/she did attempt the exam but couldn’t finish it on time.
Problem: How to answer the questions on time?


Solution: Practice of writing fast before the exam should be done so that all the questions can be answered.
Understanding the questions instead of getting confused.

Context: Attempting exams properly within the time allocated in future so that the same problem doesn’t appear again.
Thanks for reading,Please comment.
Reference
Quote by Albert Einstein taken from URL

6 comments:

Rizwan Khan said...

Very true, we are following a pattern everyday. Patterns doesn't seem to be something new but something we dont pay much attention to.
I liked the way you tried to explain patterns. BRAVO

Bash said...

Very well explained.
We do follow pattern every day. Life itself is a pattern. Eating Pattern, sleeping pattern, going to work pattern, hence pattern is involved in our daily lives.

Abbas said...

The author explained the patterns in very simple language, so that it is easy to understand for everyone.
We all follow patterns in our lives but sometimes we do not realize until we study about pattern.
ALong with the uses of patterns highlighted in the blog there are other uses of patterns like;

It reduces development time
Increases quality of the solution because, solutions to problems are not made over night, it takes lot of time to come up with a solution.

Hani said...

Thanks for the appreciation!cheers mates :)

richie rich said...

A good analoge but you describe patterns only in a software development environment. will i be able to use patterns in any other area or environment rather than software. Your pattern sceniro was good but what happens to someone who can write very well but still cant do the exams?

richie rich

SAMUEL said...

Good thinking, i like the problem you solve because its a very important topic to be discussed. We all write exam and have problem doing the exams one way or the other, so you have helped a lot of people to solve that problem and its very much appreciated. thanks.