Typescript
-
Init Declarations
Oh for the love of the code smell, the story of the cowboy coder, eslint and eslint-disable. This is the game of chess I played to stop bad code getting into the code base.
Sep 1, 2022 - 3 min read -
Making Strings
Building strings based on conditions, avoid the if-else-soup with this one simple trick
Aug 29, 2022 - 4 min read -
Refactor condition to table
A common way to refactor complex conditions to something simple
May 25, 2022 - 3 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 - How to test private functions if you really want to!!! Mar 12, 2022 - 2 min read