News for hackers. Stuff that matters.
Re:Show HN: Tiny Moon – Swift library to calculate the moon ... by ChrisMarshallNY on Thursday July 25, 2024 @04:38PM (#41073118)
I don't really have use for this, but I must compliment the author on a job well-done. The code is well-structured, well-documented, well-tested, and well-designed.
Re:Show HN: Tiny Moon – Swift library to calculate the moon ... by mannylopez on Thursday July 25, 2024 @05:01PM (#41073334)
Thank you! I was a technical writer before learning how to program, so it's important for me to write well-documented and well-tested code.

Doing so also allowed me to completely remove and replace my first attempt at implementing the moon phase algorithm when it turned out to be not-accurate enough (the values were off by about 4 hours).