A beginner attempt

I completed the last requirement in completing CS101. Although I failed on doing most of the job, I did some research in how to create a game I like the most, and that is Soccer (football). I brainstorm my ideas and ended up like making it like the battleship example. I could not make a function to guess the right patter in finding hidden characters on the board. But I again, researched a game example to actually build this game.
I tempting to give up easily, but as I mentioned in my first post on DEV Community, I will take coding as a one step at a time.
P.S. I went back to almost all the projects I completed while learning basic python, and I did not used a hint or cheat sheet this time. I am re-doing another completed project.
Well, I just have to keep moving forward.

Aside

There is no crime in using a cheat sheet. The code is not so important as the ideating and sketching out of the necessary logic. This is where one’s time is well spent at any level, beginner or advanced. Put your ideas on paper and literally sketch out the logic.

Going back to the cheat sheet, once you know what you want your code snippet to do, it cannot hurt to have the syntax and usage correct. That’s not cheating, just prudence. I would go so far as to say it is okay to use somebody else’s code snippet in some cases (attributed, of course). We do not need to reinvent the wheel.

If you find a piece of code that does exactly what you want it to do, does it matter that you did not write it? Not if you fully understand it, no. If you fully understand it, then we might assume you could write it given the thought and time to proof it. This might seem like it contradicts with originality, and that would be true if one has little to no real code tinkering and experimenting and reading under their belt.

In those cases one is always better to not use someone else’s code. It’s through working out a problem that the author came up with their solution. You are developing the same skillset so would naturally arrive at some of the same conclusions as other authors when given the same basic problem.

Anyway, back to my original assertion: Cheat Sheets are okay, and even encouraged. Just make sure they are vetted for best practice and do not encourage any bad habits or omissions. For my own part I just use the docs of whatever language I’m writing in. If you are going to create cheat sheets then vet them in great detail against the docs.

We all learn differently. Some people learn by osmosis and pick things up quickly. If we’re not one of them it doesn’t rule out our chance at success, it just means our learning path may be more rudimentary. It’s not a knock on us. In the end we depend upon due diligence and ability to keep our eye on the ball.

3 Likes

Hello sir,

Once again, you get my hopes high and grit to remain solid. I enjoy coding. I love it. I want to go back in time and ensure no time is wasted. But destiny is fulfilled in the way we make it happens. (i wonder if I said it right).

You are absolutely right about the usage of cheat sheets. Sometimes I feel like memorizing everything and applying it without looking is better when speeding up the process. That is a robotic way of teaching students of all ages, including me. If I understood your perspective correctly, memorizing is good sometimes, but overwhelming your brain with too much information may cause you to forget other important stuff. A terminology defines that, and I read it in the book Smarter, Faster, Better by Charles Duhigg, but I forgot… So, it’s okay to make cheat sheets and have them as a way to continue, not only to learn something but also to know it… And by knowing, one needs to practice, practice, practice, and apply the skills learned.

I repeatedly mentioned taking someone’s coding, even though the idea of making my first game is mine: basic but an ideal way to start my own portfolio. I read the code; the only new thing I didn’t know was %s and %d . I didn’t know what that meant until I researched, and it was wow. There are more exciting code snippets in python coming my way. I am a slow learner but disciplined. And as how the military taught me, “slow is smooth, and smooth is fast.”

I can’t thank you enough for this much-appreciated and informative feedback. Before I go, how can I edit my ID number placed as my username… HAHAHA! :sweat_smile: I looked almost everywhere, but it got to be a way to edit it and type my name.

Thank you!

-Luis

2 Likes

To change your username: go to your CC profile (not your forums profile) and Edit Profile.

2 Likes

Thank you. :smile: I appreciate the help.

1 Like