Concatenative topics
Concatenative meta
Other languages
Meta
Beginning
Factor's current calendar library supports the Gregorian calendar and conversion between it and the Julian calendar.
Not everyone in the world uses the Gregorian calendar for every facet of their life. In particular, support for Buddhist, Hebrew, Islamic, and Japanese calendars would be a good start in making the calendar library more useful. By implementing a generic calendar protocol, one could convert between the calendars and use dates in other formats than the Western-centric one Factor currently supports.
A calendar/localization protocol should support:
The student can identify use cases for calendars and add code to cover these use cases. For instance, one major use of calendars is to remember holidays. There is currently a library that can calculate American holidays, but the student can figure out a way to generalize this to new calendars and holidays.
A well-written calendar library would make it easier to write applications based around calendars, such as daily planners, email clients, and web applications.
This revision created on Mon, 1 Mar 2010 08:42:00 by erg