Which Design pattern is good for easy maintenance?

Discussion about everything. New games, 3d math, development tips...
Post Reply
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Which Design pattern is good for easy maintenance?

Post by MasterGod »

There are so many design patterns that I can't decide which one is the best for me.
Does anybody knows of a design pattern which is intended for easy code maintenance?
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

No, but I bet you could persuade a peppy consultant in a sports jacket to accept $1000 in return for lecturing you on why their pet pattern is better than everyone elses.

You may gather from that that I am somewhat skeptical about the practical utility of design patterns.

As a pragmatic suggestion, try to imagine that you're coming back to your project cold after a 2 year gap, and architect and code it on that basis. It can help to look at a 3rd party body of code, note all the things about it that make it hard to understand (like ovly trs vrbl nms), and then 'fix' those issues in your code.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Does someone knows maybe which design pattern Irrlicht uses, if at all?
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
SiriusCG
Posts: 58
Joined: Tue Feb 14, 2006 1:05 am

Post by SiriusCG »

I wouldn't worry about it too much... Just go with what is there and you'll develop your own "style" in time...

Design patterns are like opinions, everybody has one, and each think it's the "best" going... :wink:

BTW you might consider losing the tagline... it's worn out and it's hypocritical considering your using a MicroSoft compiler and IDE.. :roll:
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

SiriusCG wrote:it's hypocritical considering your using a MicroSoft compiler and IDE.. :roll:
that depends on your perspective.
Jgoldnight
Posts: 31
Joined: Thu Jun 07, 2007 6:23 pm
Location: New York
Contact:

Post by Jgoldnight »

Model View Controller is the best...
Post Reply