Chris Pietschmann

husband, father, hacker, entrepreneur, futurist, innovator, autodidact


CQRS: Command Query Responsibility Segregation Design Pattern

I was recently turned onto the Command Query Responsibility Segregation (CQRS) design pattern by a co-worker. One of the biggest benefits of CQRS is that is aids in implementing distributed, highly scalable system. This notion can be intimidating, but at the heart of CQRS there are rather simple guidelines to follow. Now let's dive in and explore what this pattern is and some way of implementing it. Purpose of Command Query Responsibility Segregation (CQRS) The main purpose of CQRS is to assist ... [More]

Basic Comparison of Functions in C# and Apple Swift Programming Language

Previously I wrote a basic comparison of the C# and Apple Swift programming language syntax. In this article we'll dive a little deeper into a comparison in to how defining and calling Functions work in both. Functions are first class citizens in both C# and Apple Swift, so lets see how they compare against each other! Define Basic Parameterless Function At the most basic level there really aren't many differences between the 2 languages as you can see below. Even the way you return a value from... [More]

Basic Comparison of C# and Apple Swift Programming Language Syntax

Recently, Apple announced and released a beta version of the new Swift programming language for building iOS and OSX applications. Swift is a modern language with the power of Objective-C without the "baggage of C." While we can't argue that Objective-C has it's difficulties being tied closely to C, but the real question is... How does Swift compare to a modern language like C#? Please, keep in mind that this post is not supposed to be an Apple vs Microsoft post. There are a lot of developers th... [More]