Day 274 of writing every day.
Practice makes perfect but with coding, practice, at best, makes you pretty good and confident about what you’re doing. That is, you might have a good idea of what you need to write and produce the intended output that satisfies the requirements of what you’ve been asked to do. That is you know how to both write code and comprehend what exactly you’re being asked to code.
Understanding the request is probably more than half the battle as being able to code means nothing if what you’re putting out isn’t matching up with what was asked of you in terms of customizations. Attention to detail matters in coding but it’s more than what you have to enter into the computer. You need to understand what the client wants, or in my case, what the practice is asking me to do.
At the beginner level, it seemed simple until you see a few conditions thrown in such as only wanting certain columns, values, and renaming the output to a specific name. It’s easy to get lost or miss a few details, and that makes me thankful there’s an answer sheet that I can refer to in order to better understand the problem and how a recently introduced code is used. Then I can learn from it and try the question again from scratch.
It’s not as exhilarating as getting a question right in one go but I’m being honest with myself in making sure that I understood what the problem was, and how to write the correct solution. I ended up using a lot of time today going over a long practice problem, but that’s okay. Learning has its bumps along the way and it’s not always going to proceed at a fast pace.
Thanks for reading!