Archive for the ‘Code’ Category

Naming Things

This is the second post in the series ‘Introduction to Professional Programming Concepts’. The first post was What is Dependency Injection? In programming, appropriate naming of everything is extremely important to being able to read and understand code. This applies whether you’re reading code that someone else wrote years ago, and even to code you […]

Posted in Code, Software Development on Saturday, October 19th, 2013. No comments yet

Clean Code

Last week I attended the Heartland Developers’ Conference here in Omaha, Nebraska. There were a lot of good sessions there, and one of my favorites was the session on Clean Code, given by Cory House. There were a lot of great points in the talk, which Cory admitted were distilled from a few books: Code […]

Posted in Code on Wednesday, September 12th, 2012. One comment so far

A C# Implementation of Ruby On Rails’ Cycle Method for ASP.NET MVC

Again, another thing that I thought should probably be out there, but when I Googled it, was nowhere to be found. Basically, in Ruby on Rails, if you want to alternate row colors or something like that, the easiest way is to do: DATA HERE Which will alternate between the two values you feed it. […]

Posted in .NET, ASP.NET MVC, Code, Ruby on Rails, Software Development on Wednesday, May 18th, 2011. No comments yet

.NET – Break up a list into parts

I needed to break up a list into equal parts today, and I found that the code did not exist out there to create chunks to process as a batch. Specifically, i was working on sending emails to a large number of recipients. I created a List(Of T) extension method to break the addresses into […]

Posted in Code on Tuesday, March 29th, 2011. No comments yet