Gavin Greig (ggreig) wrote,
Gavin Greig

  • Music:


How cool is Visual Studio 2005's handling of resources? FxCop picks you up on it if you're daft enough to use a string literal, and VS2005 itself offers to autogenerate a class that exposes the strings to code as properties. Combined with the great handling of internationalised resources, this promises to make our lives a lot easier.

Previously, creating and consuming resources in an internationalisable way has been - maybe not difficult, but definitely a bit painful and a lot of work.

Today, I created a handful of new resources and a couple of new resource files in side projects, including appropriate accessor classes in under ten minutes. I also scrapped our own pre-existing classes for doing the same job. They were good enough, but not quite as flexible as the autogenerated classes can be.

It's always satisfying to be able to reduce the amount of code we directly write and maintain.
Tags: software development, work

  • Electric Hurdy Gurdy

    Check out Guilhem Desq, lead hurdy gurdy player in Arcane Alchemists: Transmutation sounds like a Bond theme: This entry was…

  • Inside the Mark I Tank

    Here’s a really interesting video from the World of Tanks people. Yes, it’s a YouTube video, but you can drag your viewpoint around to see the…

  • Weekend - Peter Pan, Bon Scott and Sydney Padua

    It’s been a while since I wrote, you know, actual words here – nearly six months, which is my longest gap ever – so I thought I’d make a cursory…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.