How Redux Simplifies Unit Testing

Today was a boring day. I had a bit of downtime because of some arbitrary mid-sprint deadline set for tomorrow. I didn't want to go too deep on something because I was expecting a lot of bug reports to come up (which did). So instead, while waiting, I decided to write unit tests... lots of them. It was fun, and only because of how Redux greatly simplifies writing unit tests.

Read more

Paradoxes In Software Development

Last Tuesday, I did an internal presentation of Redux to an audience that's primarily comprised of Angular+Spring and Drupal developers. Any backlash against a very functional approach was already expected given the strong OOP and DI predisposition. The following day, I got some (unprovoked, passive-aggressive) feedback regarding the presentation which made me realize that software development... has a lot of paradoxes.

Read more

Simplify Code Coverage With One Simple Trick

In the last two-ish months, I've been converting a library and its plugins from being in separate projects into a monorepo. This was done to be able to maintain all of the assets in one place. One of the efforts involved was adding code coverage tracking for all packages, to ensure tests cover all the code that's written. Now code coverage can be a pain, but I discovered one simple trick to simplify code coverage.

Read more

Avoid Default Exports

It's the start of a new sprint. Another opportunity to refactor a huge swathe of undesirable code, update dependencies, break and unbreak builds, that sort of thing. The idea of refactoring incorporated into the daily run is a good thing to do, keeps technical debt at bay. This time around, I had to remove default exports from ALL of my modules.

Read more
View All Articles