I found this wonderful relatively old resource https://www.youtube.com/watch?v=NUYqjdmsIj8 that talks about some tips that will make your code short and better, and I hope that these tips will help you in your next projects.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.