Heard a kid at the library in Dayton say 'just copy the error into the search bar' and I felt dumb for not trying it | Coding For Beginners - The Design Community Hub
Heard a kid at the library in Dayton say 'just copy the error into the search bar' and I felt dumb for not trying it
Last Tuesday I was at the main library in Dayton working through a Python exercise on one of the public computers and a teenager next to me hit a wall with his code. He didn't panic or close the tab. He just highlighted the red error message, pasted it into a search engine word for word, and found a forum post from 2019 that fixed it in about a minute. I had been stuck on the same kind of thing for two hours that morning, retyping my code over and over and guessing at what was wrong. It sounds so basic but I never thought to treat the error text as a search term, I always tried to describe the problem in my own words instead. Since then I've done it maybe five times and it worked four of them. The one time it didn't, the answer was buried in a comment five pages deep. Does anyone else have a small habit like this that sounds obvious once you see it?