ElegantCode

A software blog

15 Feb
2014

Segregate your code commits into tiny topical changes.

If your not using source control for your coding projects, get off my lawn. 😛 (#JustHadToSayIt) Now that I’m only reaching people who use source control (serious developers), I’d like to ask that you focus hard to only commit changes that belong to a single topic at a time. Think SRP for code commits/check-ins. What […]

Read More
17 Jan
2014

Awesome talks

There are a lot of screencasts, recordings of user group gatherings and conference talks available online. I try to commit myself watching at least two new talks every week, and I’ve been doing this for quite some time now. I created this list of online talks that I really enjoyed watching. I’ll also be updating […]

Read More
2 Jan
2014

Clojure Kata #2 – The Bowling Game

Category:UncategorizedTag: :

As mentioned in the previous blog post, I?ve been learning Clojure and I decided to do so while practicing a couple of coding katas. The second kata that I want to walk through is the bowling game. First, we needed to decide which testing framework to use. Our choice fell on Midje, whose syntax looked […]

Read More
18 Dec
2013

Format your .Net exceptions to see the StackTrace.

TL;DR Check out a dinky little Exception Message Beautifier site I threw together so you can quickly format .net exception messages and easily see the StackTrace.   Go to the site: CLICK HERE   Background Over the years, I?ve worked on projects where application exceptions were saved to a SQL database. When querying the logs […]

Read More
12 Dec
2013

Node-m-r – A Simple CQRS Example using Node.js

Anyone learning about DDD, CQRS and/or event sourcing has probably read the source code of Greg Young’s simple CQRS example at some point or another. This is one of the simplest examples possible demonstrating the practical side of CQRS and event sourcing, originally developed using .NET. I made an attempt to rewrite the source code […]

Read More