I wrote this article using the Hashnode API! Here's how...In case you didn't know, Hashnode has it's own GraphQL API! Catalin Pit wrote a great article about how you can use the API to display your published articles on your own website. However, the API can do so much more than this, such as following a u...10 min readΒ·samwalpole.com2DRNov 14, 2021
My Top 5 JavaScript Tips & Tricks for Writing Cleaner CodeEveryday techniques you can use to tidy up your code & make it easier to read7 min readΒ·samwalpole.comAug 8, 2021
A Practical Guide to Higher Order Functions in C#If you have been programming for any length of time, you may well have come across higher order functions, but (like me) may not have fully appreciated just how powerful they can be. If you've not heard of them before, never fear, I have an explanati...3 min readΒ·samwalpole.com3FNSJul 3, 2021
LINQ: Beware of deferred executionIf you've spent much time around C# and .NET, it's likely that you will have come across LINQ (Language-Integrated Query), which allows you to use a range of powerful querying capabilities directly in the C# language. The example below demonstrate a ...6 min readΒ·samwalpole.com1EApr 25, 2021
Handling Dependency Injection in Inherited ClassesDependency injection (DI) is a wonderful thing. Simply add your dependency as a parameter to the constructor (most commonly) of your class, register it with you DI container, and away you go - the DI container will manage the rest. Some of the key be...4 min readΒ·samwalpole.comApr 11, 2021