nwillcinLevel Up CodingGo: Sometimes an ORM is a Bit MuchWhen you need it, an ORM is great, but sometimes the effort it requires to achieve its magic is painful. For example, if you have an…Jul 5, 2022Jul 5, 2022
nwillcinLevel Up CodingGo Panic and Recovery: Meet the Edge CaseIdiomatic Go generally handles error cases with the pattern:Jul 3, 2022Jul 3, 2022
nwillcinTowards DevGo Generics: Adopting a Couple of Known PatternsAs I’ve worked more and wore with Go generics pursuing cleaner code I’ve tested known patterns from other sources to see how they would…Jun 28, 2022Jun 28, 2022
nwillcWorking Around a Limitation of Go GenericsGo has always had some challenges regarding polymorphism. Its type system and naming rules just made some things difficult. For example…Jun 20, 2022Jun 20, 2022
nwillcA Couple of Interesting Go Syntax NuancesI’m a bit jaded with regards to programming languages, so I enjoy finding interesting nuances in them. Here a couple from Go.Jun 14, 2022Jun 14, 2022
nwillcinGeek CultureGo Generics and Polymorphism, an Idiomatic Wake-up CallI’ve always felt that the WET nature of Go led to a lot of subpar code. One area this really stands out is polymorphism. Go supports…May 22, 2022May 22, 2022
nwillcinLevel Up CodingGo: When To Adopt 1.18 and GenericsI've been eagerly awaiting generics in Go, so I’ve been working with 1.18 since it was only available in the playground and betas. It’s…May 14, 2022May 14, 2022
nwillcinLevel Up CodingGo: Function Names and GenericsWith Go, you immediately learn that function signatures don’t include type information. So, unlike many languages, you can’t have:Apr 29, 2022Apr 29, 2022
nwillcAPI PaginationAPI results pagination is a bit of a trigger issue for me. It’s such an easy concept to conceptualize but is literally an exercise in edge…Feb 22, 2022Feb 22, 2022
nwillcinLevel Up CodingGo Generics: Holistic Thoughts on PerformanceThere have been lots of discussions on the performance implications of generics in Go, around both specific scenarios and abstractly, let’s…Jan 23, 2022Jan 23, 2022