Skip to content

gigasecond: Making gigasecond more interesting #84

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

Open
SaschaMann opened this issue Sep 29, 2017 · 2 comments
Open

gigasecond: Making gigasecond more interesting #84

SaschaMann opened this issue Sep 29, 2017 · 2 comments

Comments

@SaschaMann
Copy link
Contributor

The exercise Gigasecond is really boring as it is right now, all of the submitted solutions look exactly the same.

It could be made more interesting by requiring the user to create a new GigaSecond type that is compatible to Dates.Second, Dates.Year etc.

@SaschaMann SaschaMann changed the title Making gigasecond more interesting gigasecond: Making gigasecond more interesting Sep 29, 2017
@cunger
Copy link

cunger commented Jan 28, 2020

A time travel setting might pimp that exercise and open room for a bit more complex code. Something along the following lines maybe?

You have the task to go back to a specific point X in time (some time before the Gregorian calendar was introduced, so you get a Julian time (pun intended)) and do Y. You have to figure out the configuration for your time machine, which requires the time period to travel backwards to date time X, and then the time period to return to the present moment after having finished the assignment. The time machine expects periods in GigaSeconds (because, hey, weird technology, weird units).

@SaschaMann
Copy link
Contributor Author

I really like that story idea! We might be able to turn it into a concept exercise about dates in exercism v3.

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

2 participants