In the light of current events, I will first consult my pillow and only then write an article about readable code.
@lyse The what? What happened? Do I want to know? 😭
@movq Sometimes, views on quality code are 180° apart.
Here we are, it took me a bit longer: https://lyse.isobeef.org/code-readability/
@lyse Oh wow, we’re talking about such a detailed level. 🤔
I agree with most of what you said.
I probably would have written it like this:
// Arbitrary reference date.
// Y m d H M S nano
date := time.Date(2026, 6, 19, 17, 0, 0, 0, time.UTC)
Would this be better or worse? 😅