All articles
Everything I've written on software engineering, JavaScript and Github, newest first.
10 articles
Article list
- 9 min
Recursion
A walkthrough of what recursion actually is, the three rules every recursive function has to follow, and why it can blow up your call stack if you are not careful.
Read - 11 min
Github
A working reference for conventional commits, branch cleanup, safe rebasing, and force-pushing without breaking anything - the git I actually use.
Read - 8 min
Queues
A walkthrough of what queues are and where they quietly show up in everyday code - print queues, task runners, and breadth-first search
Read - 7 min
Stack
A walkthrough of what stacks are and where they quietly show up in everyday code - undo buttons, browser history, and the JS call stack
Read - 14 min
Big O Notation
Time complexity, space complexity, and growth curves - what Big O notation actually measures, and why it matters more than counting exact operations.
Read - 3 min
O(1) - Constant Time
What O(1) constant time actually means, why direct access beats searching, and how to prove an algorithm's speed stays the same no matter how much data you throw at it.
Read - 12 min
Searching Through an Array
How linear search actually works under the hood, why it costs O(n) no matter which built-in you reach for, and when sorting the data first to unlock binary search's O(log n) is worth the tradeoff.
Read - 8 min
Arrays
Which array operations are cheap and which aren't - why push and pop are O(1), search is O(n), and adding to the front or middle means shifting every element after it.
Read - 5 min
Asynchronous Strategies
A working reference for how JavaScript actually schedules async work - tasks vs microtasks, and which Promise method (all, allSettled, any, race) fits which situation.
Read - 7 min
Iterables and Loops
A working reference for JS/TS loops - which loop type to reach for, and the five different ways to iterate asynchronously without tangling parallel and sequential execution.
Read
No articles match.