Just Code
-
Refactor condition to table
A common way to refactor complex conditions to something simple
May 25, 2022 - 3 min read -
Range Cheat Sheet
Ranger just one of many terminal base file managers, this is the cheat sheet
Apr 25, 2022 - 1 min read -
Conway's game of life
That time I wrote conway's game of life in typescript
Apr 22, 2022 - 2 min read -
The end of all reason
Finding the abstraction in code and writing generic functions. This one is a long post, where I take a look at some complex logic and refactor it into it's base logic.
Apr 10, 2022 - 5 min read -
Maximum path sum II - Project Euler
Just my solution to the maximum path sum II puzzle from project euler
Mar 20, 2022 - 3 min read - How to test private functions if you really want to!!! Mar 12, 2022 - 2 min read
- The war on if-else - part 3 Mar 5, 2022 - 2 min read
- The war on if-else - The evil else if - part 2 Mar 5, 2022 - 2 min read
- The war on if-else - part 1 Mar 5, 2022 - 3 min read