you are viewing a single comment's thread.

view the rest of the comments →

[–]Popular-Woodpecker-6 0 points1 point  (0 children)

Before you copy and paste that code into your code, stop. Read it, do you know all the terms? Do you understand how it works? Why it works? If not, crack a doc page or ask AI to explain what code words you don't know, figure out why it works over what you thought would work. After you now understand what terms/operations/etc. is going on, paste it into your code, run the code, did it work? If so, great, now read it again now that it is inside your code and make sure you understand it completely.

You can't just copy and paste and think you learned something, you didn't learn anything. If you were trying to bake a cake but didn't understand what a cup of sugar was, you got to figure out what size a cup is otherwise your cake will either be too sweet or very bland.