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

Massively simplify BeeKeeping output #405

Closed
wants to merge 1 commit into from

Conversation

Protonull
Copy link
Contributor

BeeKeeping will no longer tell you the names of the bees in the hive, if any. It's genuinely more hassle than it's worth to have it output properly. Here are some examples of botched outputs:

  • There are 1 bees sedated in that hive.
  • Kira, Beatrice, and 1 others are happily buzzing in that hive.
  • Kira, and 1 others are sedated in that hive.

Trying to fix this, where named and unnamed bees are mentioned, involves massive if-else trees to accommodate proper Oxford commas and plurals, which makes the code pretty fragile. Showing bee names is neat but by no means a necessity.

BeeKeeping no longer tells you the names of the bees in the hive. It's genuinely more hassle than it's worth to have it output properly. And while I was at it, I also fixed up the rest of the class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants