TypeScript over JavaScript, Always

Prelude As a developer, JavaScript is inevitable. Unless you're a dba or mobile app developer I suppose, but I digress. When working with JavaScript applications, you certainly have to be using a build pipeline of some description. If you are not at least bundling and minifying you are certainly doing…

There can be only one return; 0 RLY?

My opinions and choices on style of coding evolves and changes over time. By blogging about this now, I can refer back later when I change my mind. I can also elicit the opinions of others to influence me to change my ways if I happen to be wrong and…

In C#, your structs should be immutable.

I wrote some code. It was simple code. I had a collection. I iterated over the collection and updated the values. I did this several times in an outer loop. The code didn't work. Why didn't it work? My collection was an array of Structs. When I pulled an item…

.Net Core SDK 2.0 Series - Getting Started

This is a series on the latest 2.0 .Net Core bits, Following on from the original .Net Core Series Getting Started <=(We are here) What's in the box Using Multiple Projects Testing NuGet Multi-targeting Publishing Portable Applications Self-contained Applications (At the time of writing, 2.0.3. I…

A story about an intern and dotnet

Jack the intern was thrilled. He sat at his computer in front of a cmd prompt ready to learn. "It's your first day, and we need you to work out all this new dotnet command line stuff". Jack recalled the words of his new Boss, Joe. "We…

Ghost Blog Upgrade to 1.* (1.8.4 in fact)

While I've been hapily blogging away on Ghost version 0.8.0 hosted on azure (very much ad-hoc hosting approach) the Ghost Blog team made the leap to a 1.* version, with a very breaking changes along the way, especially to their upgrade process. They've made it all the way…