Comment on xkcd #2867: DateTime
reverendsteveii@lemm.ee 11 months agoI was transcribing it from memory and that exact problem cost me like two hours when I was writing it the first time. Well spotted, now write me a unit test for that case.
Comment on xkcd #2867: DateTime
reverendsteveii@lemm.ee 11 months agoI was transcribing it from memory and that exact problem cost me like two hours when I was writing it the first time. Well spotted, now write me a unit test for that case.
drislands@lemmy.world 11 months ago
Y’know, I legitimately said to myself “I bet they were writing that from memory and just forgot the edge case. I wonder if that was a problem when doing it originally?” before I wrote that comment. 😂 Time to get some Spock tests set up!