Problem statement: given a start date and a bible book / chapter, produce a reading schedule for the remainder of the bible assuming one will read 3 chapters every day and 2 extra on Sunday.
So assuming an input of "2025-07-06 Genesis 1," the list would read "Saturday, June 6, 2025: Genesis 1 (3 chapters) \n Sunday, June 7, 2025: Genesis 4 (5 chapters)..." etc.
It created the types, data structures, and utility functions required, and even isolated the schedule generation to a function that used all of them ... and that function was busted. It printed the same book and chapter and date every line.
With a little elbow grease I was able to bring it home. Saved me an hour.
Problem statement: given a start date and a bible book / chapter, produce a reading schedule for the remainder of the bible assuming one will read 3 chapters every day and 2 extra on Sunday.
So assuming an input of "2025-07-06 Genesis 1," the list would read "Saturday, June 6, 2025: Genesis 1 (3 chapters) \n Sunday, June 7, 2025: Genesis 4 (5 chapters)..." etc.
It created the types, data structures, and utility functions required, and even isolated the schedule generation to a function that used all of them ... and that function was busted. It printed the same book and chapter and date every line.
With a little elbow grease I was able to bring it home. Saved me an hour.