4 ms·
Every string-formatting function must have a new prefix of "m" for Mars-safety: msprintf, mstrftime, etc. An extra int argument must be included to indicate whe
by btown 11y ago
Every string-formatting function must have a new prefix of "m" for Mars-safety: msprintf, mstrftime, etc. An extra int argument must be included to indicate whether to format in Martian or Earth sols. Clearly the addition of this new argument will 100% future-proof the API against any other modifications required as humanity expands into space.
- iamtew 11y agoWouldn't it be better to just add an argument for which celestial body the calculation is being performed for? This would be more flexible in the future. I guess this would work well for other bodies as well, like moons.