DEV Community

Cover image for 3 Tips to enhance your programming capabilities as a beginner and come up as a superhero!
Aashir Khan
Aashir Khan

Posted on • Updated on • Originally published at justaashir.com

3 Tips to enhance your programming capabilities as a beginner and come up as a superhero!

It's a typical tips and tricks post with some humor, so read it and !don't share it with your friends. (Easter Egg: All the Headings are Reversed - Which means Negative)
3 Tips to Enhance your programming capabilities as a beginner and come up as a SuperHero! , Javascript, Earn Money

Tip 1 - Don't waste your time writing the same code

You've to repeat the code and avoid copy-pasting, to learn it properly. Repetition is the way to grab the key points and save them in the repository of your brain. It's not time-wasting.

Q . I saw my senior copy-pasting the code???

Ans . It's really common, to copy-paste the code and use it with some changes, but they don't copy one line of code like querySelector() or my recommendation is to learn the concepts and avoid the copy-pasting as a beginner. If you still don't understand??? Just don't do it(without any reason), It is going to help you in long term.

Tip 2 - Follow too many theses, articles, posts, or videos at the same time for a single, task.

I saw a guy he just opened up VSCode and opened up 4 or 5 articles to set up Vue-router and using it and then he opened up a video and started following it while reading articles. I was shocked, there are more than two ways to set up the VueRouter and he can easily break things by following all the things practically.
I just want you to read all the articles or videos before jumping into the code. And choose two good resources(good for you), and then follow the first one. if anything goes wrong, try the other one.

Tip 3 - Don't Ask anyone for help

Just ask for help, I guarantee you there will be some good coders around you who are willing to help. they are just waiting for you to ask them. don't feel ashamed asking your seniors, it's a good thing in some company cultures. I agree with the "Trial and Error Method".
First Try like there is no-one to solve this problem for you and then you can ask your friends or seniors.
Tip: StackOverFlow and GitHub issues are there always

You reached the end............
Cover Photo Credit - DZONE
Follow me on Twitter twitter.com/justaashir

Top comments (8)

Collapse
 
aurelmegn profile image
Aurel

before those advices, I'll suggest:

  • good variable naming
  • write good comment / write good commit message
  • use TDD (Test driven development) even on not so large project, you don't know where the project become large
  • ask why this issue is fixed by this solution
  • and last but not least rule: RTFM (Read the f** manual)
Collapse
 
justaashir profile image
Aashir Khan

You are right, but these things are so common(you mentioned), and I wanted to share something unique. But you added the value to the post 😉.
Thanks

Collapse
 
hawkcrafter312 profile image
Hawkcrafter312 • Edited

Tip 1 is so accurate, when I started coding I started by watching tutorials on YouTube and websites such as udemy and all of the developers where always copy pasting but I for myself I didn't like to copy paste thought that by copy pasting I will forget the codes easily so I didn't copy paste at all.

Collapse
 
murrayvarey profile image
MurrayVarey • Edited

Ah man, those reversed headings made my head spin!

That makes me think of a nice little tip: where possible, give your booleans positive names. My brain gets seriously confused whenever I see code like:

isNotVisible()

Which becomes:

!isNotVisible()

Or even worse:

!IsNotInvisible()

First Try like there is no-one to solve this problem for you and then you can ask your friends or seniors.

Yeah, this is really good advice. For one thing, you'll be able to ask better questions. But make sure you do ask eventually -- I hate to hear that someone has been sat around for two days, panicking because they haven't made any progress.

Collapse
 
justaashir profile image
Aashir Khan

It's really fun, 😂 Thanks. There is another mind-bender, in the first paragraph. Maybe you've noticed?

Collapse
 
murrayvarey profile image
MurrayVarey

Aaah, I'd originally assumed that was a typo! Now I need to lie down ...

Thread Thread
 
justaashir profile image
Aashir Khan

🙂😀

Collapse
 
hrtummala profile image
Hemanth

Tip one is flexible. If you know the concept and know what you are doing I think copy pasting is a time saver. We are not going for a exam Hall though to memorize the frickin code.It can be helpful though not to copy paste if you are shutting yourself out from internet and doing offline coding.