• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Design for Cocoa (was Re: Can a subclass of NSDictionary do this?) (From: Wade Tregaskis <email@hidden>)
 >Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?) (From: Tim Ramsey <email@hidden>)

  • Prev by Date: Re: time-based beta termination system
  • Next by Date: Re: time-based beta termination system
  • Previous by thread: Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
  • Next by thread: Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
  • Index(es):
    • Date
    • Thread