n
3

Showerthought: I see a lot of new coders skip the basic error messages.

I was helping my cousin learn Python last week, and he kept hitting run, seeing a red error, and instantly closing it to ask me for help. I made him read the error out loud. It literally said 'NameError: name 'prinnt' is not defined' on line 7. He just never looked. I think new people get scared by the red text and miss that it's the best help you can get. It tells you the problem and where to look. How do you get comfortable reading those messages instead of panicking?
2 comments

Log in to join the discussion

Log In
2 Comments
the_jordan
It's not just new coders. I've seen experienced folks gloss over the line number, which is the real key.
4
nina_harris39
Yeah, @the_jordan is right about the line number. Read an article once that said our brains just skip right past it to the error text. Makes you look twice now.
4