September 2008 - Posts

Trivial but useful extension method
30 September 08 04:34 PM | Avi Pilosof | 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 the Read More...
Filed under:
On using Arrays
23 September 08 11:52 AM | Avi Pilosof | 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 Read More...
Microsoft Bacon Home Edition, RC0
11 September 08 06:39 PM | Avi Pilosof | 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 . Read More...
Filed under:

Search

This Blog

Syndication

Page view tracker