Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 07-07-2004, 12:43 PM   #1 (permalink)
sammy
Code Monkey
 
sammy's Avatar
 
Join Date: Jun 2004
Location: Brooklyn/Rochester
Posts: 53
sammy is on a distinguished road
Send a message via AIM to sammy
Design Patterns

Anybody care to share the title of a great Design Pattern book? Im currently using one for java called "Patterns in Java - by Mark Grand", but Im looking for a C# one.
Anything that you guys would recommend would be appriciated.

UML illustrations preferred

Sammy-
__________________
sammy is offline   Reply With Quote
Old 08-16-2004, 07:09 AM   #2 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
www.accu.org

I am not a purist, but real OO design doesn't come with a particular language. Try to strive for understanding of design without coupling yourself (or the book) to a specific language.
__________________
Valmont is offline   Reply With Quote
Old 08-16-2004, 07:16 AM   #3 (permalink)
sammy
Code Monkey
 
sammy's Avatar
 
Join Date: Jun 2004
Location: Brooklyn/Rochester
Posts: 53
sammy is on a distinguished road
Send a message via AIM to sammy
Yeah, I know, I've been reading a Java one right now. Which is a language i've never used on the job, but theres alot of good design patterns in there. Just wanted to see a design pattern book that had C# code.
__________________
sammy is offline   Reply With Quote
Old 03-08-2005, 07:43 PM   #4 (permalink)
codewarlock
Registered User
 
Join Date: Mar 2005
Posts: 1
codewarlock is on a distinguished road
Help with choosing design pattern

Hello. I'm new to design patterns. "Design" is also a skill that I think few people have because it requires fairly abstract thinking and requires one to think in very broad terms. Being able to take "easy" notions of inheritance, polymorphism, interfaces, etc., then make use of them for a good design I think is very difficult. That is, I've seen many programmers simply take a bunch of functions, a bunch of variables, then stuff them all in a "class" and call it OOP when it is not, but I don't know how to get good at OOP. Does it come by experience? If that were true, why is some of the worst code I've ever seen written by people with 20+ years of experience. Well, needless to say, I have a question.

Say I wanted to make 2 APIs work together. One API is legacy stuff, and it can't be changed, but the other API will be written from scratch. The new API has to contain all functionality of the old one (because I can't rewrite everything), but the new one will contain additional features. So, clients will basically be using the new API and using old functionality through it along with new features.

To me, it seems like the Adapter design pattern would be useful, but also maybe the Bridge pattern. The Adapter because the two APIs will have different interfaces and the old one already exists, but I had the impression that Adapter was meant to be used when both interfaces have already been written, so that's when I think of Bridge. Can anyone make suggestions?
codewarlock is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DB Design Question Part II sde Program Design and Methods 10 09-02-2008 11:37 AM
New Design Opinion Please sde Lounge 32 07-01-2004 10:16 AM
So What Is Web Design? sde Lounge 9 07-06-2003 02:32 AM
multi-platform/browser design... sde PHP 6 06-07-2002 04:35 PM


All times are GMT -8. The time now is 10:21 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting