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

Published: 26 July 2024
on channel: Aaron Francis
8,268
669

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:    • Struggling with Laravel + Vite  

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:   / aarondfrancis  
LinkedIn:   / aarondfrancis  
Website: https://aaronfrancis.com - find articles, podcasts, courses, and more.

Featured in this episode:
Article on Cleaning Up: https://aaronfrancis.com/2024/clean-u...

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


Watch video Code tip: clean up after yourself (and a seltzer review) online without registration, duration hours minute second in high quality. This video was added by user Aaron Francis 26 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,268 once and liked it 669 people.