Custom value types are like buses
You wait years to write one… and then six of them come along at once. (Cross-posted to the Noda Time blog and my coding blog as it’s relevant to both.) When we started converting Joda Time to .NET, there was always going to be the possibility of using custom value types (structs) – an opportunity which isn’t available in Java. This has meant reducing the type hierarchy a fair amount, but that’s actually made things simpler. However, I didn’t realise quite how many we’d end up with – or how many would basically just wrap a long. So far, we … Continue reading Custom value types are like buses