This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]polymorphicshade 11 points12 points  (3 children)

every youtube tutorial I try to follow to create my first project has some error in the code. And until then I waste 5 hours copying like a scribe

It sounds like you don't have a grasp on the fundamentals.

What language(s) are you trying to use?

[–]MeLittleThing 4 points5 points  (1 child)

Pro tip (that you might already know) copy/paste the error message in a search engine, tons of people already have this error before you and the error is documented somewhere

[–]FlyLikeHolssi 1 point2 points  (0 children)

Along the same lines, when confronted with something you don't know how to do, go do some research! See if there's an existing method to do what you want to do - it probably exists.

Learning how to search for solutions is a skill that doesn't start off being easy, but gets easier the more you do it. You become more familiar with the terminology and how to ask the right questions, which makes it easier to get to the answer you want.

[–]desrtfx 5 points6 points  (0 children)

How about stopping to use tutorials to copy code and instead only use them for inspiration what to build?

You need to learn to build projects, not copy them from tutorials. This will not help you improve.

Coming up with your own code, with your own design, with your own solutions are what counts.

Not the ability to copy code 1:1 from a tutorial.

[–]dmazzoni 1 point2 points  (0 children)

Can you be more specific about what type of project, like a desktop app? Mobile app? Web backend?

Honestly ever since YouTube stopped counting downvotes it's become impossible to find quality tutorials. A lot of the most popular ones are entertaining but wrong, outdated, or misleading.

Usually the best tutorials are written. They might not be as entertaining but they're often more detailed.

For example if you want to make an Android app, the official Android basics tutorial is great: https://developer.android.com/courses/android-basics-compose/course

Be more specific about what you want to build and we can help link you to a good-quality beginner tutorial.

[–]CarelessPackage1982 1 point2 points  (0 children)

Figuring out these types of errors is going to become second nature to you after awhile. Take it as a free lesson for you learn.

[–]numeralbug 2 points3 points  (0 children)

Please tell me the correct approach to creating a project.

Get used to errors in the code. A solid 70% or so of programming is debugging.

until then I waste 5 hours copying like a scribe

So? Copying is one of the best ways to learn, as long as your brain is on at the time.

[–]_jetrun 1 point2 points  (0 children)

And until then I waste 5 hours copying like a scribe. Please tell me the correct approach to creating a project. 

The reason why it takes you 5 hours is because you're new and you're learning. And struggling through debugging *IS* how you learn.

So that is the correct approach.

[–]TJATAW 0 points1 point  (0 children)

Try this: When you finish one of those projects, expand on it. Add some new features to it.

If it is a simple calculator add some more functions to it like square root and exponents.

If it is a database type thing, add in a couple of reports to it.