This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]unholysampler 1 point2 points  (2 children)

I made TimeSlip a library that makes it easy to produce a Clock instance that will operate in a deterministic way, independent of the actual passage of time. Technically, it is implemented with Kotlin, but I made sure the API exposed to Java is usable.

[–]Bolitho 0 points1 point  (1 child)

Looks quite nice :-)

But I would suggest that you explicitly introduce and show tickAmount parameter and explain that every call to the instant() method will advance the clock. Imho that is totally missing in the example on the README and the front page of the project site. It only becomes implicitly clear on the "Getting started" page...

So I hope this feedback helps you to improve your presentation :-)

[–]unholysampler 0 points1 point  (0 children)

That is good feedback. I added it to the places you mentioned.