Ben WattsWrapper Classes — A Little Helper For Everyone — C# ExampleA Wrapper class, what is it and what can it help us with? Well have you had some code which relies on some framework library which you…9 min read·Apr 10, 2024--1--1
Ben WattsUnit Testing — Pros and Cons — Understanding why testing code is a good practiceWhat is unit testing? Well a unit test should aim to test a specific feature in our code, be it a function which calculates a value, or a…7 min read·Feb 29, 2024----
Ben WattsUnit Testing — Why write code to test my code? Seems a little redundant — C# ExampleWhat is unit testing? Well a unit test should aim to test a specific feature in our code, be it a function which calculates a value, or a…23 min read·Jan 31, 2024----
Ben WattsSoftware Design; Architecture should be an optionSoftware should allow you to choose its architecture at a later date. Now I understand some goals of software are to use a particular piece…4 min read·Feb 1, 2022----
Ben WattsC# EntityFramework InMemory Database for Easy Testing/Prototyping and Project sharing.We’ve all been there: create a new project for a client, create a database in some form, share the project and include some instructions…4 min read·Apr 17, 2021----
Ben WattsBasic Factory Pattern for JavaScriptSimple implementation of the factory pattern used in a JavaScript application.4 min read·May 26, 2020----
Ben WattsI haven’t crashed, trust me: Game edition.Importance of small animation to notify the user: Hey! I’m running.3 min read·May 18, 2020----
Ben WattsTargeting Multiple Frameworks for C# ProjectsSome times we are stuck in a situation where we want to use our old .Net Framework library in our new .Net Core/Standard library. This can…3 min read·May 11, 2020----