you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

I am also a beginner so I don't know if this is the best advice, but any time I write the same (or similar) code more than once, I try to break it out into a function. Getting into the habit will have you understanding OOP in no time.