Well I am fairly new to the programming world, I can write code, but that dose not mean I can write applications. I can easy make a script to do what needs to be done but that takes away the purpose of getting experience in design.
The problem here is that I think there may be an anti pattern here. CSNWrite needs to ask some other classes for information that that class has processed to do its job, which is write to a CSV like file. Those classes either ask another class for some information to process and do it's job or asks CSVRead class to read info from a CSV file. I quickly put a UML class diagram together and it looks like there is an anti pattern in the scene that some classes are answering to any other classes. I don't know if this is a problem, and if so how to fix it. It looks like a net of messages which I suppose is not good. Some good design practices would be greatly helpful. I am writing this application in Ruby which will have some design patterns that differ from a language like Java.
Thanks for your time and effort.
Aucun commentaire:
Enregistrer un commentaire