- How to Write Functions that Don't Lie
Dec 06, 2024Your functions should not know who's calling them.
- Using e3 notation to represent seconds in JavaScript
Sept 02, 2024A simple way to quickly identify seconds in your code base.
- Keep Your Parameters Consistent with the Standard Library
Aug 26, 2024Write your functions as if they were native
- Refactoring a function from the axios library
Aug 23, 2024A few small changes to improve clarity
- Give Your Code Room to Breathe
Aug 21, 2024White space is your friend
- The difference between .then(fn, fn) and .then(fn).catch(fn) in JavaScript
Aug 20, 2024A subtle gotcha when dealing with promises
- Exit Your Functions Early
Aug 17, 2024Clarify your functions and avoid deep nesting
- Consistent Return Types in TypeScript
Aug 10, 2024Eliminate surprises within your functions
- Simplicity is Key
July 18, 2024Fighting the urge to introduce complexity