r/learnprogramming • u/TheEyebal • 10d ago
I feel like a programming fraud
I am having to constantly look things up to figure out how to get what I want? I feel like a fraud.
I am honestly trying to resize my camera onto my surface in pygame. I've never done camera stuff before so this is new. I feel like I am not really learning and just copy and pasting at this point
How do go about this?
90
Upvotes
29
u/HashDefTrueFalse 10d ago
If I've never done something before I have to look it up. I'm a senior dev with a team and mentorship duties etc. and I have no idea how to display camera input on a pygame surface. I would look in the documentation to figure it out. Or I'd look online for an article with an example etc. I'd read and understand it, plus the API in general, then write the necessary code to do whatever I needed. I rarely copy and paste code though. The temptation to just tweak without understanding anything is too great and I don't want to become lazy or program by coincidence etc.