For most of us, working from home has shifted from “exceptional and unique” to “daily into the foreseeable future.” In my former life as an office-inhabiting worker, I was among the most gregarious; now I am the only one in my office. I’ve had a few months to perfect my work-from-home strategies. I hope they […]
On a recent project, we used Jest to orchestrate the tests across our web app, which uses a combination of Puppeteer, SuperTest, and Enzyme for testing. Here’s an overview of how we wired up and tested each part of the app, the tools/libraries we used, and the orchestration we did to run all of the […]
Create React App is the easiest and most available way to get into React. And ejecting your app is seen as the gateway to being a “Real React Developer.” I’m not normally for gatekeeping, but ejecting is worth avoiding. Today, I’m going to try and convince you to take your hand off the eject button. […]
Being able to resize an HTML element is a handy feature. But implementing the feature isn’t as easy as it looks. CSS has a built-in resize property, but it’s limited in functionality. The property will add a handle to the bottom right corner of your element. From there, you can expand or shrink the bottom […]
Functional programming is a broad discipline, and this series has only scratched the surface. Like most skills, it is learned through practice. To help you practice, I’ve found a few ideas that are rooted in functional programming and may find a place in your next project. I’ve also collected a few functional languages that offer […]
Much of the power of functional programming is self-evident, but I wanted to spend some time exploring the reasons for and against using a functional style.
In functional programming, there are a lot of ideas and patterns that can make writing code a lot easier — most importantly pure functions, immutable state, and higher-order functions. I want to spend some time discussing these concepts and why they’re helpful in the context of functional programming.
Functional programming is a universally-applicable programming paradigm that yields clear code with evident effects, that is easier to debug and maintain. This functional approach has become popular in the software world, and I wanted to do my best to provide a thorough introduction. Here’s what you can expect: Fundamental functional programming concepts and basic examples […]
Generative art has consumed my free time for a few reasons. First, there’s few experiences that match creating and holding your own art. Second, my degree didn’t prepare me to make paintings, but I did build the skills for generative art. Finally, generative art focuses on writing code to make something you enjoy. Much better […]
I recently worked on a legacy Flask app that was in need of refactoring. We were unfamiliar with a lot of the codebase, and we had a monolithic server.py with over a hundred routes. Using Flask’s blueprints, we were able to break the app into logical segments and gain familiarity with the codebase.