29 common beginner Python errors on one page
From the webpage:
A few times a year, I have the job of teaching a bunch of people who have never written code before how to program from scratch. The nature of programming being what it is, the same error crop up every time in a very predictable pattern. I usually encourage my students to go through a step-by-step troubleshooting process when trying to fix misbehaving code, in which we go through these common errors one by one and see if they could be causing the problem. Today, I decided to finally write this troubleshooting process down and turn it into a flowchart in non-threatening colours.
Behold, the “my code isn’t working” step-by-step troubleshooting guide! Follow the arrows to find the likely cause of your problem – if the first thing you reach doesn’t work, then back up and try again.
Click the image for full-size, and click here for a printable PDF. Colour scheme from Luna Rosa.
…
Useful for Python beginner’s and should be inspirational for other languages.
Thoughts on something similar for XQuery Errors? Suggestions for collecting the “most common” XQuery errors?