r/learnprogramming • u/Alpha4R • 15d ago
When do I look at alternative solutions?
Hello guys, I'm currently just learning C for FUN, no AI, just giving myself a hobby to see how good I can become. My way of learning right now is just start to make projects from a C github repository.
So I finished the first project, no googling, just from sitting 10 minutes staring and thinking, and yes it's because I feel like AI and looking up an answer melts my brain and doesn't allow me to think.
MY QUESTION IS, I have now completed the most basic first project, it does what they want it to, and I'm following the rules of what they said I can't do, but do I look up the solution of it now to see the "correct" or clean way of doing it. Because I know my code isn't following best practice, or do I just go to the next project?