Re: goals vs requirements
Ralf Engels <[email protected]> Sat, 01 Nov 2003 11:03:23 +0100
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Again I had some answers that I want to comment: Ed is giving some good cases for modularity. I just want to point one thing out: minimal interface. Having a small (but complete) interface is the corner-stone of a modular development. This is currently not the case. The PlaylistManager alone has around 30 functions, sends four events and has it's fingers all over the place. I tried to change this and belive me it is extremly hard. Please try this too so that you can see for yourself why I wanted a structured development process. This is not about re-writing the code. This is about finding out what needs to be fixed. Kristian is writing about two different points. First about the metadata issue. Kristian, I am totally agains saving meta-data in a playlist item. As we found out (via the requirements) we only need to determine the meta-data in very special cases. Again I encourag you to write a working design in the requirements document, a simple text file or in comments. Please feel free to change what you like, but GOD DAMN DO IT. I can't understand the current design and every sentence you are writing is confusing me more. What exactly does the music-catalog do? Please write it down or you will be the only person that can write code for this. Another point is the work-split between player and playlist. current: getNextSong getPreviousSong -- player-playlist setShuffle getShuffle setRepeat getRepeat -- player-ui getPlaylist getCurrentSong setCurrentSong -- ui-playlist proposed getPlaylist -- player-playlist setShuffle getShuffle setRepeat getRepeat getPlaylist getCurrentSong setCurrentSong -- player-ui As you can see at least two functions are missing. I could bet that there are other improvements, but one argument top's it all. The playlist is now more understandable because it only manages the list and nothing more. BR, Ralf ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/