My first coding slip-up and the lesson I still use
When I first tried to write a simple script to track my M-Pesa sales I forgot to add a check for zero values. The program crashed when there were no sales for a day and I looked like a fool in front of my campus friends. Now I always test my code with a few fake numbers first and I keep a backup copy before I run anything. A simple tip that helped me: write the data to a text file first, then read it in your program, so you can see errors without needing the internet.