hpi-swa-teaching / AcceptIt

SWT 2018 Group 12
MIT License
3 stars 3 forks source link

Create generation class ACGenerator instead of spreading around generation methods #88

Open Askir opened 6 years ago

Askir commented 6 years ago

Problem: What is wrong?

Generation of classes is spread all throughout the project and this leads to godclasses like ACUserStory and weird functionality (Why would a UserStory want to be able to have another method called createUserstory: withCategory:)

ToDo: What has to be done?

  1. Create a new class called ACGenerator that is used for all class generation
  2. Move all generation methods (createLibrary, createUserstory, etc.) to that class
  3. Add fancier interfaces that enabled you to create userstories in an even easier way. This class should be the only one a user really has to know about when using accpetIt