Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organize Classes #53

Open
carlschroedl opened this issue Oct 22, 2017 · 0 comments
Open

Organize Classes #53

carlschroedl opened this issue Oct 22, 2017 · 0 comments

Comments

@carlschroedl
Copy link
Member

Currently the src and test classes are both in one flat folder due to ignorance about how PHP namespaces and autoloading work.

Some ideas for organizing:

  • We could move all of the basic classes like Candidate, Margin, Ballot, NBallot, Agenda, (did I miss any?) to a "domain" or "model" folder
  • GenericCollection and its subclasses could go in a "lists" folder
  • Calculator classes could go together
  • Comparators could go together
  • TieBreakers together

Not sure where Grouper or RankedPairGraph would live

@carlschroedl carlschroedl changed the title Reorganize Classes Organize Classes Oct 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant