Yet Another Coding Blog

A Redmond dev blog... from Sydney; by Avi Pilosof.
Posts
  • Yet Another Coding Blog

    Trivial but useful extension method

    • 3 Comments
    Don’t know why I didn’t write this before; it makes code very readable. Often when you write anything graphics related, you want to constrain coordinates to window edges (for example). So a simple method: 1: /// <summary> 2: /// Ensure that...
  • Yet Another Coding Blog

    On using Arrays

    • 0 Comments
    Eric Lippert has a great article on arrays: http://blogs.msdn.com/ericlippert/archive/2008/09/22/arrays-considered-somewhat-harmful.aspx   I think this is especially useful to consider if you’re writing an API. Consider not just arrays, but any time...
  • Yet Another Coding Blog

    Microsoft Bacon Home Edition, RC0

    • 2 Comments
    Totally unrelated to programming, but I deem this worthy of a blog post. A few weeks ago I decided to make my own bacon.   Why? Don't ask stupid questions; bacon is an axiom. How? turns out that it's actually not so complex: Buy some pork belly ...
Page 1 of 1 (3 items)