Kyle Hooks’ Tech Blog

Welcome to my blog!

Articles at least once a year and sometimes every month ¯\_(ツ)_/¯

Latest from the Blog

Boolean Parameters Considered Harmful

Time for a nice short article. As a development team, we were having a bit of a side discussion during our ensemble meeting (mobbing session essentially). There was a method call that took a boolean, and we didn’t have the slightest clue what it did just looking at the code. This led us to ask…

What does a good automated test look like?

Recently, I did a large refactor to a core component of an e-commerce SPA web application in React. Notably, nothing in the functionality was being changed, this was just a code cleanup, and the goal would be for all of the original tests to pass after the changes were made. Yet, not one single automated…

Help! CORS won’t work with my AEM servlet

I ran across a very challenging issue recently, but it turned out to be simple to resolve. We were building out a small servlet to proxy requests to an API while hiding the API keys from the front end, but Chrome would always fail with a CORS error when testing locally from our React app.…

Get new content delivered directly to your inbox.

Design a site like this with WordPress.com
Get started