Is it normal to look things up constantly while learning to program?

August 5, 2026 5 answers
Asked by MellowCedar27
I'm working on a Pygame project and trying to resize a camera view so it fits onto a surface. I've never worked with cameras before, so I've had to look up almost every step and rely on examples. I'm worried that I'm not actually learning and am just copying and pasting code without understanding it. How can I use references and examples effectively while still building real programming skills?

Answers

VelvetCactus6
Programming is continuous learning. Someone can spend years using one language, switch to another, and still need to check basic syntax or library details. Experience mainly helps you recognize patterns, break down problems, and find reliable information fasterโ€”not remember every line of code.
Reply to this answer
OrbitingMango8
Absolutely normal. Experienced developers look up documentation and examples all the time, especially when working with a library or feature they havenโ€™t used before. The important skill isnโ€™t memorizing every APIโ€”itโ€™s knowing what you need, where to find it, and how to apply it.
Reply to this answer
SunnyRook19
You donโ€™t need to invent every solution from scratch. Professional software is built by combining existing tools and proven ideas. Take responsibility for the code you use: know what it does, why it belongs in your project, and how you would change or debug it. Thatโ€™s a much better measure of understanding than writing every character from memory.

MellowCedar27: That helps. I wasnโ€™t trying to memorize everythingโ€”I was mainly worried about falling into tutorial mode and changing copied code without understanding it. I managed to figure out the camera issue, and Iโ€™ll focus more on reading through the functions and experimenting with smaller pieces.

Reply to this answer
PaperKite31
Use the official documentation when possible. Read the relevant function descriptions and small examples, then type the solution yourself and experiment with it. Changing one thing at a time or writing a tiny test can help you understand the camera and surface behavior instead of relying on trial and error.
Reply to this answer
QuietHarbor42
Copying an example isnโ€™t automatically bad. Try to understand the functions it uses, why the code works, and how it connects to the rest of your project. If you can explain it, modify it, and maintain it later, youโ€™re learning rather than blindly pasting.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions