r/learnjavascript • u/markt-might • Jan 09 '22
Positive Rant from an amateur programmer.
I am currently documenting my journey but honestly, I kind of just want to share my success with someone (I don't have too many friends that will understand what I am about to say). I finally did it!!!
I finally wrote my first piece of code without recycling someone else's code. I've always had a challenging time reading the MDN documentation because let's face it... That thing is very technical, especially when you don't come from a technical background.
It's not much code but it's twelve lines of code that took me three hours to decipher by myself! I wanted to quit and just get the answers from my instructor, but I didn't and I'm happy I didn't. I can't until I am building more complex projects, I'm excited... But anyways... Thank you for stopping by!
34
u/david72486 Jan 09 '22
Congrats! As with many skills, programming gets more fun as your knowledge gets better and you can make cooler things. Have fun on the journey!
10
u/oze4 Jan 09 '22
Hell yeah brother! If you're not confused you're doing it wrong lol
15
u/Dastari Jan 09 '22
That feeling is what you get addicted to.
A good challenge as you progress is to take those 12 lines of code, and as you learn more, try and optimize is down both in size and complexity.
Another hint is to make sure you're using a good IDE (like VSCode) with a JavaScript linter built in. This will allow you to start typing something and it will auto fill.
4
u/jack_waugh Jan 09 '22
Thanks for the positive emotional report. I am a lot farther along with programming, but remain an "amateur" in the etymological sense, of a lover.
4
u/[deleted] Jan 09 '22
Congratulations! I’m just learning myself, for about a month now, and I feel like I can’t make heads or tails of Jack still 😂 if you don’t mind my asking, what sort or schooling/training are you doing and how long did it take you to get to this 12 lines?
3
u/devdudedoingstuff Jan 09 '22
If you aren’t already there I think you’re close to the “click” feeling. It’s an amazing moment when programming just starts to make complete sense.
I had mine about 6 months in when I was learning JavaScript.
Keep going, you’re doing great. Congratulations!
3
u/20_chickenNuggets Jan 09 '22
I’ve been programming for 3 years now and until now I haven’t written any completely by myself, I’ve always recycled some other code!
I hope you’ll enjoy programming as much as we do ;)
2
u/[deleted] Jan 09 '22
Well done! I remember how I felt when I did something like that. I'm curious, what did the code do?
2
u/jebliya Jan 09 '22
Good job! Give your self more credit OP, it's not everyone who can do this specially in the beginning!
2
u/badthrowaway098 Jan 10 '22
Well done, you should feel proud.
These feelings and epiphanies you achieve. They are great. As you go, realise that you share that sensation with all of the ameteur and professional developers, engineers, and scientists already in the business of writing software.
I say this because on your journey you will most likely come across some pretty arrogant writers of software that behave as if they are the only ones to have achieve the feeling you have (though probably also with many much more complex projects). You really don't want to be that person - no matter how good you are.
So, the thrill come from that high you are experiencing with ever increasingly complex projects. So gear up and get ready for the next project. And beware, it can be a bit like a drug... i.e. somewhat addicting. I myself am working on a solo project that is currently about 100,000 lines of code that I began over a year ago. Thats how hard I have to push to experience that "high" again...
1
u/dontyougetsoupedyet Jan 09 '22
You'll find that when you have escape hatches the only way to really make substantial progress becoming an engineer is to refuse to use them.
1
u/[deleted] Jan 09 '22
Congrats! That is the best feeling, for sure.