Storing UTC is not a silver bullet
https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a-silver-bullet/ [codeblog.jonskeet.uk]
2019-03-28 07:51
tags:
development
programming
When I read Stack Overflow questions involving time zones, there’s almost always someone giving the advice to only ever store UTC. Convert to UTC as soon as you can, and convert back to a target time zone as late as you can, for display purposes, and you’ll never have a time zone issue again, they say.
This blog post is intended to provide a counterpoint to that advice. I’m certainly not saying storing UTC is always the wrong thing to do, but it’s not always the right thing to do either.
source: L
First Steps with Nullable Reference Types
https://codeblog.jonskeet.uk/2018/04/21/first-steps-with-nullable-reference-types/ [codeblog.jonskeet.uk]
2018-05-16 19:35
tags:
beta
csharp
programming
type-system
This blog post is effectively a log of my experience with the preview of the C# 8 nullable reference types feature. There are lots of caveats here: it’s mostly “as I go along” so there may well be backtracking. I’m not advising the right thing to do, as I’m still investigating that myself. And of course the feature is still changing. Oh, and this blog post is inconsistent about its tense. Sometimes I write in the present tense as I go along, sometimes I wrote in the past tense afterwards without worrying about it. I hope this isn’t/wasn’t/won’t be too annoying.