Geeks With Blogs

News Locations of visitors to this page
Brian Genisio's House of Bilz June 2008 Entries
Pretty code in blogs
I love Blogger. I have been using it for about 2 years in my personal blog and it has done me really well. When I decided to start up a tech blog, I figured that Blogger would work great for that as well. Unfortunately, in my last two posts, I had a bear of a time getting my code to format. Once I thought I had it, Blogger would re-format my code enough that my formatting got all screwed up again. I had gotten so frustrated, I was almost ready to switch blog software all together. Then I came across ......

Posted On Saturday, June 28, 2008 9:22 PM

Generic constraints for value types
I came across an oddity in the C# language the other day. I was trying to create a generic method that returned a nullable value. A simple example of this: 1: public T? GetNullable<T>(int index) 2: { 3: if(index < 0) 4: return null; 5: 6: return default(T); 7: } This will result in a compiler error: Error 1 The type 'T' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>' This is a cryptic error that means that I need ......

Posted On Thursday, June 26, 2008 12:48 PM

On Readability and Maintainability
In the last 6 weeks, I have been spending a lot of my time rearchitecting my software. Along with this comes a lot of refactoring. It gets me to thinking about readability and maintainability. I came across a situation where there were several methods with the same boilerplate code. I reduced this down to a single method that takes a delegate and each dependant method calls into the single method with an implementation of a filter. When it was all said and done, I had sacrificed readability for maintainability. ......

Posted On Tuesday, June 24, 2008 8:05 PM

Lansing Day of .NET
In one of my favorite tech blogs, Coding Horror, Jeff Atwood blogs about what it means to practice your profession. More specifically, he mentions that you can do your job without practicing your profession. That everyone drives every day, but most people are not professional drivers.In his post, he brings up several things you can do to become more practiced as a developer. One of those things is "Write a blog". It seems he (who is a developer turned professional blogger) believes that what I have ......

Posted On Monday, June 23, 2008 11:14 AM

The start of a new blog
Why am I doing this? Another blog? Another blog about software? Just another programmer who thinks that someone might care what he has to say? I don't know. I guess I am doing it to create more of an online presence... although if you "google" my name, you will find countless usenet conversations about everything from "SSH Tunneling" to blueberry jam. Searching for my alter-ego, Bilzmoude, will come up with a similar mish-mash of topics such as beer and MythTV. My presence is small, but it is there.So ......

Posted On Saturday, June 21, 2008 10:05 PM

Copyright © Brian Genisio's House Of Bilz | Powered by: