Skip to content

adithemighty/timespan-kata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timespan Coding Kata

Summary

The goal is to implement a utility function that 'pretty-prints' timespans. For example, 3620 seconds become "1 hour, 20 seconds ago". Such a function greatly enhances UX by providing the user a readable timespan without bothering it with details.

Suggestions

  • Use a unit testing library

  • Use git and work in baby-steps

  • Commit often

  • Don't read or work ahead!

  • Notes for Facilitators

Increments

Part 1 - Simple pretty-printing

  1. Task 1.1
  2. Task 1.2
  3. Task 1.3

Part 2 - For brevity!

  1. Task 2.1
  2. Task 2.2
  3. Task 2.3

Part 3 - Lossy algorithm

  1. Task 3.1
  2. Task 3.2
  3. Task 3.3

About

A kata for pretty-printing timespans

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 63.2%
  • Java 36.8%