Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Chamois - Fluent Assertion Syntax for C++

Posted by evolutional, 13 September 2014 · 1,761 views
c++, unit, test, bdd, tdd, fluent
One library that I love in .NET is Fluent Assertions . It takes assertion syntax in Unit Tests and wraps it up in a natural language syntax. Doing so, we get a nice looking structure for our test that reads like a requirement, rather than a bunch of code.

For example:

Sure, it's nice and tearse for a programmer, but what if it were more fluent?

Or a...

On C++ Naming Conventions

Posted by evolutional, 15 July 2014 · 2,975 views

I threw myself back into the deep end of C++ again a few months ago, having spent the last couple of years with an emphasis on C# and .NET.

One thing that I'm thinking of is the old subject of coding style. Every software house tends to have a house style, so at work you just adopt that - but at home, on personal projects I find myself drifting around st...

First version of FlatBuffers in .NET

Posted by evolutional, 05 July 2014 · 613 views

I've committed by first alpha version of the FlatBuffers port to .NET to GitHub .

Since my last post, I decided to port the Java version to .NET as straight as I could, which means the use between Java and C# should be similar.

I ported the JavaTest buffer creation code; which looks as follows: var fbb = new FlatBufferBuilder(1); /...

FlatBuffers in .NET

Posted by evolutional, 24 June 2014 · 1,875 views
.net, c#, protobuf, flatbuffers and 1 more...
I've been tinkering with Google's new FlatBuffers protocol and have an experimental port of it running in .NET (C#).

FlatBuffers is interesting and there's a couple of other alternatives in the form of ProtoBuf , Cap'n Proto , Simple Binary Encoding (SBE) and, to a lesser extent, JSON , XML and YAML . These protocols all share the same thing in common...

Porting Accidental Noise Library to .NET

Posted by evolutional, 14 April 2014 · 891 views

I've been inspired by the images that JTippetts ' Accidental Noise Library can generate. However, these days I do very little C++ work so I felt like tinkering with a little project that would help me tip my toe back in this water and also have a bit of fun.

As a result, I decided to have a crack at porting Accidental to .NET. I'm aware that James Petr...

How Uncle Bob, Fowler & Beck, nCrunch and ReSharper changed my code

Posted by evolutional, 15 January 2014 · 742 views
.net, c#, code quality, testing
I've been trying to do Test Driven Development (TDD) for quite some time and struggled. I've always been what I would term a "traditional" coder - write something, debug it in some custom rigged harness to make sure things work as expected, then move on to the next piece of the system and repeat ad infinitum. This style of coding has got me through litera...

Cloudy Requests

Posted by evolutional, 26 August 2013 · 388 views

For the past year or so I've been working on Cloud Services for Fable Legends. I've been thinking of writing some articles on the subject... So an open request; if I were to write a few articles on writing Azure-based cloud services in C#, what would you want to see?


Posted by evolutional, 26 May 2013 · 311 views

I've changed quite a few things since my last entry. First of all, I hit a wall in my Unity rip-off component system. Quite simply, I found it really shitty to work with.Instead, I took cue from Juliean  and took a look at Alec Thomas's EntityX  system, and then at Richard Lord's Ash . After pondering these over a bit, I threw out what I had and started a...