Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
- Subject: Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
- From: Martin Häcker <email@hidden>
- Date: Thu, 24 Jul 2003 09:35:48 +0200
Suppose I am building a complex mathematical/logical algorithm (one
of the things I do). Detailed design is very important here because
poor planning and/or bad data structure choices can make life a
nightmare and may make the job impossible. You can paint yourself
into a corner where you find yourself building and rebuilding
endless code and getting nowhere. Flow charts and data structure
diagrams are great in this situation, and if they look like an
explosion in a spaghetti factory, start over. A great design will
achieve a certain inevitable simplicity, even for a complex problem.
It will also run much faster than a poor design. I have constructed
optimized designs for kludged up systems that reduced runtimes by
factors of over 200 in extreme cases.
I haven't ever done anything like this before, so it might all be
just speculation, but... isn't Merciless Refactoring supposed to also
get me to a nice design eventually? (But with the added benefit of
the rapid prototyping?)
Well, I don't hold my breath too much over this, ultimately I think
that everybody should choose the methodology he/she likes best. Over
time the supporters of the slower ones will die out. :)
cu Martin
--
dont.wanna.tell
[ot]coder - hehe
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.