News for hackers. Stuff that matters.
Re:New in Go 1.20: wrapping multiple errors by rmrfchik on Sunday December 11, 2022 @10:53AM (#33944192)
I thought it was a joke about mnemonic, until realized you're serious. This is NOT a mnemonic, because it lacks either rule like each next component gives more specific time, or external reference like poem or image. It can be easily substituted with 1st year, 2nd day, 3rd hour, 4th minute, 5th second, 6-th month, 7th timezone.
Re:New in Go 1.20: wrapping multiple errors by divan on Sunday December 11, 2022 @04:08PM (#33947534)
mnemonic is just a memory aid, it can be anything. if you prefer other term, feel free to use it, but the point still holds - it's a 1234567-based date that you remember once (most people can do it) and it helps remembering what should be in the format string.
Re:New in Go 1.20: wrapping multiple errors by rmrfchik on Monday December 12, 2022 @12:20AM (#33951173)
What is 1234567 anyway? Why 1 is month? From which clue should I remember that?
Re:New in Go 1.20: wrapping multiple errors by masklinn on Monday December 12, 2022 @06:46AM (#33953651)
From the cultural assimilation of being american for which it makes perfect sense that the month comes first and the year comes last. Apparently. That’s also why the timezone is a weird-ass US timezone (MST, Mountain Standard Time), and why you don’t get tzdata timezone names.

But don’t rely too much on cultural assimilation, because DOW is not the Sunday / 0 you might then expect.