Code tip: clean up after yourself (and a seltzer review) @aarondfrancis
Code tip: clean up after yourself (and a seltzer review)  @aarondfrancis
Uploaded July 2024 | Updated September 2026, 2 days ago
Poppin off is a series of short code tips, tricks, patterns, and refactors for software developers. Oh and also seltzer reviews. Clean up after yourself! It this video we cover two different methods to clean up after yourself. The first is returning undo functions and the second is maintaining a cleanup array.

If you want to watch the video that inspired this one, you can find it here: youtu.be/pT7e31DMTYY

We also do a Lemon Spindrift review, our first seltzer. Send me a seltzer or hipster soda!

Aaron Francis
9330 Lookout Point
Apt 226
Dallas, TX 75231

Follow Aaron:
Twitter: twitter.com/aarondfrancis
LinkedIn: linkedin.com/in/aarondfrancis
Website: aaronfrancis.com - find articles, podcasts, courses, and more.

Featured in this episode:
Article on Cleaning Up: aaronfrancis.com/2024/clean-up-after-yourself-618236cb

Chapters:
00:00 Welcome to Poppin Off Series
00:23 Seltzer Overview
00:49 Clean Up After Yourself in Code
02:02 Approach 1: Returning a Callback
03:36 Approach 2: Register an Undo Stack
04:53 Benefits of Both Approaches
05:29 Seltzer Ranking
Code tip: clean up after yourself (and a seltzer review)Distributed SQLite with Litestream and LiteFSSpeed up your Inertia.js website with these 7 tacticsThe Music Makers Podcast - 042 - Breaking the ChainThe Music Makers Podcast - 037 - The Top 5 Regrets of Dying PeopleI built a GUI in the terminal (with PHP)PHP on the frontend! No more Javascript!The Music Makers Podcast - 026 - The Finite, Irreplaceable Hours of Your LifeWelcome to Token TownAgent orchestration, simplifiedEscaping the UnderclassToken Town Live: Fable 5 Is Here
Aaron Francis |

Code tip: clean up after yourself (and a seltzer review)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER