Hacker News new | ask | show | jobs
by ChrisMarshallNY 701 days ago
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.
1 comments

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).