Coffeehouse Post

Single Post Permalink

View Thread: Giving up on Vista
  • User profile image
    Tom Servo

    evildictaitor wrote:
    Are you sure the registry isn't type-safe? That would surprise me.

    Offering string, DWORD and blobs without any sort of format checking isn't exactly typesafe. Obviously DWORDs and blobs are rather hard to check for validity without injecting tons of third-party code into the registry code. But most things are stored as strings. Creating the registry subtree, attaching regexes or whatever else mechanism to each string key and validating everything on application install time would allow the application to catch itself going nutso.