It's been five days, and I've successfully completed all of the first five challenges in Advent of Code. The first three days were a breeze, but coming up to four and five has been tricky. I've gotten stuck, submitted the wrong answer not once, not twice, but six times, and looked at other's code for help.
The important thing I realized is that there's nothing wrong with this.
Getting stuck is something that I think we've all experienced. It's a necessary evil. Just something that happens to the best of us sometimes.
The good thing for us is that the Internet exists. In the past two days, I found myself on a myriad of sites (primarily Stack Overflow, of course) looking for solutions to problems I didn't know how to solve. It's especially important to me because I've challenged myself to do all the challenges in Python, a language I'm not particularly fond of. More on that later though, I'm starting to open up to the realms of possibilities that something like JS would take much longer to do.
I guess the takeaway here is don't be afraid to admit you don't know something. My Day 4 and 5 solutions are structured around a bit of someone else's code, and that's ok. I'd rather be open about knowing nothing and grow than pretend I know everything and decline.
Find my solutions here: https://github.com/jD2R/advent-of-code-2022
Here's to learning and coding! π
Top comments (0)