computer science

A data model exercise in two languages, part 2: F#

May 22, 2017 · f# computer science c#

Introduction In the previous post I took a look at a data modelling exercise in C#, I designed a data model to represent a card in the standard 52-card deck. We saw some of the problems we face when designing »

A data model exercise in two languages, part 1: C#

May 4, 2017 · c# f# computer science

Introduction When I'm learning a new programming language, I usually like to do some coding exercises to get familiar with the various language features, and to get used to the syntax. Many of these exercises—or katas—are about implementing »

Back to basics: Dictionary part 4, custom GetHashCode

October 25, 2015 · c# .net basics computer science

Posts in this series: Part 1: Hash tables Part 2: .NET implementation Part 3: Built-in GetHashCode Part 4: Custom GetHashCode General guidelines This is the last part in the series about the Dictionary class and the GetHashCode method. In this »

Back to basics: Dictionary part 3, built-in GetHashCode

August 29, 2015 · c# .net basics computer science

Posts in this series: Part 1: Hash tables Part 2: .NET implementation Part 3: Built-in GetHashCode Part 4: Custom GetHashCode Introduction In the previous two posts we looked at the basic concepts behind the hash map data structure, and checked »

Back to basics: Dictionary part 2, .NET implementation

August 15, 2015 · c# .net basics computer science

Posts in this series: Part 1: Hash tables Part 2: .NET implementation Part 3: Built-in GetHashCode Part 4: Custom GetHashCode Introduction Last time we saw an overview about the basic concepts behind a hash map. In this post we will »

Back to basics: Dictionary part 1, hash tables

July 25, 2015 · c# .net basics computer science

Posts in this series: Part 1: Hash tables Part 2: .NET implementation Part 3: Built-in GetHashCode Part 4: Custom GetHashCode Introduction Recently I came across a situation in which I should have known the details about how a .NET Dictionary »