Learning Test Driven Development (TDD) is hard. I have a decade+ of “Test Last” “Test After” content on my blog and YouTube, none of it “Test First” until much later in my career. So here’s a 3 phase process to ease into it. I’m assuming you already know how to setup unit testing frameworks (Jest/Vitest/Mocha/Jasmine, etc) and use assertions (expect, assert, etc).
(more…)Category: JavaScript
-
Quick Thoughts on Effect-TS
Reading the effect-ts docs, and it’s basically a Result and Option with many helper functions, a way to compose functions, with type-safety (as much as you can get in TypeScript). If you’ve ever used Folktale, Sanctuary, or true-myth, you’ll immediately know the basics. The run API reminds me of Python’s async io or Scala’s ZIO.
(more…) -
First Attempt at Gathering DORA Metrics
Attempted to get all 4 DORA metrics today from our AWS pipeline, and wow, a lot harder than I thought to both get them, AND do what I thought were simple calculations (some of the extra math ended up being fun).
(more…) -
Thoughts on What’s Next Career Wise
Her majesty (the wife) got promoted a few months ago to Senior Manager, what Individual Contributors would call Lead Engineer; effectively a manager of many teams which includes IC contributions as well. Despite my Staff Engineer title I had for a year, she’s now higher than me.
She did this with a 3-4 career hiatus to be at home with the kids. Getting back in the game was brutal, but she did it. I’ve always felt for the first part of her career, and mine, we were learning a ton, and belonged as n00bs.
Fast forward to manager/master engineer years, and I felt she was hired below her capabilities, and some days/weeks, I felt the same about me. Fast forward to now, and I’m unclear what’s next for us both.
(more…)