Reading Roundup

Loyal followers! I'm not dead! In fact I've been working away on a few cool projects, but I'm not quite ready to divulge. Anyway, I thought I would post about a few different resources I've been reading through lately:   A Conversation with Anders Hejlsberg You have to read every word. Seriously, stop reading this […]

More

Quick Post: Easy Enums

On any engineering team, it's sometimes difficult to agree on best practices. Everyone has different ideas of good style, consistency, etc. But there's one thing we've reached consensus on: enums. Here is what our best practices say an enum definition should look like (keep in mind, this is only for int valued enums): public enum […]

More

C# Musings...

I had a few ideas for C# constructs, so I thought I might as well write them down. Perhaps, some day, someone can tell me why these don't exist... Making Generics More Generic Several times I've been frustrated by the fact that Func<TResult> has a bunch of variants. Wouldn't it be cool it you could […]

More

Earthican Shader

In my previous post, I described a process for generating terrain on a spherical mesh. As the screenshot showed, the algorithm worked pretty well to give you a lumpy looking planet or asteroid. But-- what if you want it to look like Earth? Green continents, blue water? You know the Earth I'm talking about. Well here's […]

More

Book Review: Effective C#

It's a fact that there are just too many crappy technical resources out there. It's also a fact that there are probably too many good ones to read in any one lifetime (I've still only made it through book one of Euclid's Elements-- and, embarrassingly, I've never even started my copy of Principia Mathematica). Anyway, I […]

More