r/learnprogramming • u/[deleted] • May 15 '20
Learn to code TODAY! (Seriously)
Hi guys, I'd like to share my story with coding and when it really started. I know a lot of you guys is having the same struggles I did and I hope this helps.
At first, I didn't understand how some letters on a screen became a whole web store system. It was mystical to me. After some researches, I was told to learn HTML/CSS/SQL/JS/PHP. The starter kit for web development.
So I did, started to learn theories, syntax and when I (thought) finished, I was hopeless. Thinking: "ok, so now I know what is these things and how it works, but how the hell am I supposed to mix it up together and build something meaningful?".
I was stuck. I quit for some time, I didn't knew what was the next step, and searching on the web it looked to me that was a jump from the basics to building complex systems, and I was too dumb for this.
But then, the day that made me a true programmer became! And this is the tip that I thought it might help you guys:
To become a programmer, you have to program. Oh yeah, you already read this on other posts, but it sounds pretentious, right? Like, shut up dude, you already code, it's easy for you to say. Yes, I agree.
The thing is, besides learning syntax and other stuff, do an analysis of yourself. Where are you now? What you already know? What are the things you always see around but have no clue what it is? OOP? API? AWS? What is this? Take notes, search what it is, just to clear your mind. If you have all this information that is kinda blank on your head, it's just overwhelming you. Sounds more difficult than it actually is.
Then when you know what is your level at programming, start taking your own challenges, compatible to that level. Example: I was trying to create a CRUD (Create/Read/Update/Delete) system in Java with SQL, I tried to jump steps and went to youtube tutorials without knowing the basic syntax of both languages, it was frustrating. Then I got back to my "make-a-sum" console programs. After I learned the basics, I finally was able to understand that tutorials properly and then when I watched it again, became natural. It has a lot of things that I didn't knew, but having a solid background for what the tutor was speaking, I was able to study it afterwards.
So, to program: program (but not any or every challenge you found on the internet, but your own challenges, what you are capable to do).
The more I study the more I see is an endless road. The only point you can say: "Ok, now I'm am a programmer!" is when you take challenges and don't give up on them, and make it works. No matter how small is your project.
Search for the zone where is always slightly difficult.
You can become a programmer today, maybe a bad one, but you can start it today! Now, go build something with what you are capable, you'll be a great programmer soon. :)
8
u/bear-force May 15 '20
When you are following a tutorial (on Udemy or something similar):
Learn 1 chapter and program something with the knowledge of that chapter.
Learn another chapter and use chapter 1 and 2 to create something new.
Repeat with each chapter and always use ALL the chapter knowledges.
Don't just create what they made in the course, make something NEW that YOU made.
When you finish a course, you will now sort of understand what everything does, or at least know that it exists and you will find it more easy when you need it. The rest is just experience and using it as often as you can.
I'm still learning though, I tried Python programming over and over again and giving up. Now I'm doing the Automate the boring stuff on Udemy. I can follow along with all the chapters and use all the stuff I learn there to do something on my PC, today I sent an e-mail with a Python script using an interactive shell prompt. It's not much, but these are real life scenario's that I could actually use (I do a lot of sysadmin work). Don't cram all the stuff in your head, it's never going to stick. It might seem that it takes longer this way, but learning it just to forget it after 1 day is not really a good investment of time in my opinion. Besides, you just give up because there is nothing to show for your actions, and then you have to start all over again because you forgot so many things. I can definitely agree with OP, integrate theory with practice immediately!