I'm learning Java and currently have two long masterclass-style tutorials lined up. I keep hearing that beginners should start building projects right away, but I'm not sure how to do that when I barely understand the language yet. Should I study the fundamentals first and wait until I feel comfortable, or is the best way to learn those fundamentals by attempting small projects? I'm also worried about getting stuck and having to look up solutions constantly. Is it still worthwhile to start with a very small project despite having limited knowledge?
3 Answers
Go for it. Your first attempts may be messy, and you’ll run into problems you didn’t expect, but that’s part of the learning process. Start with something tiny—such as a calculator, guessing game, to-do list, or basic text-based program—and use documentation or searches whenever you get stuck. Looking things up is a normal part of programming, not a sign that you’re failing.
Starting a small project early is a great idea, as long as you expect the first version to be rough. You’ll probably write inefficient or awkward code, and that’s completely normal. As you learn more, you can rewrite and improve parts of it. The main goal at this stage isn’t to produce an impressive finished project—it’s to use the project as a way to learn.
You don’t need to master all the fundamentals before practicing, but you should build practice into your routine. Work through the basics, then regularly pause the tutorial to write small programs yourself. Even simple exercises will help turn the concepts into something you actually understand.
I wanted to check that I wasn’t jumping the gun. I like the idea of projects, but I definitely don’t feel solid on the fundamentals yet.

That makes sense. I think I’m mostly nervous about getting stuck and needing to look everything up. Since I’m new, I’m not used to figuring problems out independently yet.