-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Originally posted by Nathan Pruett:
I had not used nor heard of design patterns prior to the current project I am on. (I am just starting my 2nd year of job experience after college, so I'm at least 10 years behind the industry. That's what a CS degree will do for you...) One of the people developing the system began talking about using Adapter and Mediator patterns in the system being developed, I was curious and went off to look up info on design patterns online.
Anyway, after looking at some info on design patterns how are they any different than algorithms? (albeit at a higher level of system design.) Algorithms are basically described as "a set procedure to solve a certain problem, broken down into steps." Design patterns look like they do this also, just in a more OO way...
In fact, I remember from my Algorithms class that a computer scientist (I believe Robert Sedgewick) collected lots of algorithms, catagorized them, and somewhat standardized them. Kinda what's being done with design patterns now.
Basically, what I'm asking is this : Are design patterns just a new, cool, OO word for algorithms, or am I just oversimplyfying the idea?
-Nate
SCJP Java 2 - IBM Certified Enterprise Developer - WebSphere V4.0 & V5.0 - IBM Certified System Administrator - WebSphere Network Deployment V6.0 - Canadian Securities Course (CSC) Certification
Andy
Algorithms are basically described as "a set procedure to solve a certain problem, broken down into steps."
Originally posted by Nathan Pruett:
Basically, what I'm asking is this : Are design patterns just a new, cool, OO word for algorithms, or am I just oversimplyfying the idea?
-Nate
Linda Rising<br />Author of <a href="http://www.awprofessional.com/title/0201741571" target="_blank" rel="nofollow">Fearless Change</a>
SCJP Java 2 - IBM Certified Enterprise Developer - WebSphere V4.0 & V5.0 - IBM Certified System Administrator - WebSphere Network Deployment V6.0 - Canadian Securities Course (CSC) Certification
I am going to test your electrical conductivity with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|