julia icon indicating copy to clipboard operation
julia copied to clipboard

gigasecond: Making gigasecond more interesting

Open SaschaMann opened this issue 7 years ago • 2 comments

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 avatar Sep 29 '17 14:09 SaschaMann

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).

cunger avatar Jan 28 '20 06:01 cunger

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

SaschaMann avatar Jan 28 '20 13:01 SaschaMann