Skip to main content

Programming

2024


Techniques to make rebasing less of a headache

·260 words·2 mins

I often see developers merging main into their feature branches and opening pull requests (PRs) that include commits from other branches. This practice leads to “git spaghetti,” which has several consequences:

2023


2022


Quit nesting React providers

·147 words·1 min

This is a simple example of a TypeScript React function that can assist in combining many Provider components, such as those used by React Context, into a straightforward function.

2021


Rebase to freshen up your branch

·505 words·3 mins

I’m a member of a few software teams and, very frequently, we commit code to our main branch. Common themes within my teams are not to have a develop branch or even release cycles. Instead, we release regularly.

Grocery Store coding challenge

·541 words·3 mins

This coding challenge is the first of a series I will be posting for TypeScript & Golang, although it can be completed in other languages. As these are used for internal recruitment purposes, I recommend that you keep repositories with this challenge private.

2016