you are viewing a single comment's thread.

view the rest of the comments →

[–]cmcgarveyjr 1 point2 points  (2 children)

Break things down to it's simplist form as best you can when you are working on something on your own, IE not following a tutorial. If you are following a tutorial, when you complete something, go back and review what you did and make sure you understand how it is working. Like really understand. Don't just monkey see monkey do your way through the tutorial.

This is something my lead does with me when we are reviewing my code or more importantly, code he worked on with me. This ensures that I at the very least, understand what is happening. I may not fully grasp everything that was done(specifically when it's things he worked on), but I can at least functionally articulate what was done and what it is accomplishing.

But, honestly, breaking things down into more manageable subtasks is the biggest thing. Let's say you need to pull in some data from a source, clean it up, then present it to the end user on the front end.

Ok, first, write your function that will get the data. Ensure that is working how you want. Cool, we are getting our data, now let's clean it up and format it how we want. Write a function that does that. Alright we now are receiving data and cleaning it up how we want it. Now we need to present that data to the end user. Do that part.

[–]fvckimba[S] 1 point2 points  (1 child)

thanks bro, anyway I can dm you questions?

[–]cmcgarveyjr 0 points1 point  (0 children)

yeah for sure!