I get many DMs asking:

- Why is learning JavaScript so hard?
- How long did it take you to learn JavaScript?
- Why is JavaScript so popular?
- What is the best way to practice Javascript?

Let's deconstruct this ⬇

A Thread...
In my learning journey,

I realize that a majority of resources available for learning JavaScript - books, PDF, courses, are not learner-friendly.

I felt that the tutor was in a hurry to get to the end of the course and was not educating the rationale behind the code.
The content quality of such tutorials is questionable.

Since JavaScript runs in IE, Edge, Firefox, Chrome, Brave, Safari, and a dozen other environments, great care must be taken when teaching & coding anything in JavaScript!

JavaScript can do what’s called silently fail.
Programming language learning paths:

- What is the language
- Why the language
- Set up environments
- how to run the codes
- Hello, world
- Basic syntaxes var, ifs, loops, methods.
- Some dude is now lost.

What is next if you don’t know to StackOverflow, or read documentations
- Why is learning JavaScript so hard?

Yes. That is partially because programming is hard.

But other reasons:

- JavaScript can be written in many different ways, and these ways can be so different that one JS developer can find another JS developer’s code almost inscrutable.
- Javascript is hard because it's so flexible. There are so many ways to do the exact same thing.

- There are just light-speed changes with frameworks and libraries, that it's hard to keep up sometimes.

JS is hard, but the freedom it provides has revolutionized web technology.
To a complete beginner I would suggest the below roadmap:

- Learn what a browser is?
- Learn about Web page?
- Get a summarized history of HTML & CSS.
- Why JS?
- JS Rendering engine?
- The fun begins with DOM and what it is.
- Basic syntaxes variables, ifs, loops, functions.
- DOM traversing and manipulating.
- OOP in Js
- Concepts like callbacks, hoisting
- Libraries
- Frameworks

I am sorry if you are lost till here.

Javascript is a lot (Take time, relax, reflect, restart).
- How long did it take you to learn JavaScript?

Step 1: Learn Vanilla JS

Vanilla JS refers to code that is not enhanced by any frameworks.

Because frameworks enhance the JS language, I encourage aspiring developers to learn the JS language before jumping into the enhancements.
Learn from high-quality books and courses.

To learn how to code, you need 2 things:

A strong mindset that will allow you to work through frustrations & continue to progress when you get stuck


A couple of decent courses that cover JavaScript in depth.
Keep in mind, I’m still learning it

I don’t think there’s a point with any programming language where you get to say you’ve definitively learned it.

It took me 1 year to learn how to program in JavaScript.

There’s still a lot I don’t know.
- Why is JS so popular?

It is clearly due to the rise of web applications.

Evergreen Browsers

Let’s face it, old browsers suck.

They suck because they don’t have the new features that make development easier.

Chrome was the first browser to introduce automatic updates.

Node was not the first to expand JavaScript capabilities beyond the browser, but it was one of the most well thought out and clearly has the most traction.

The LAMP stack is being replaced with stacks like MEAN (Mongo, Express, Angular, Node).
- JavaScript can be used to generate dynamic content on a website.

- Event-Based Programming, A very cool feature of JS.

- Because it’s good & it works.

- It’s so elastic you can make it work however you like.
- What is the best way to practice Javascript?

The best way to practice JavaScript is to work on a project.

Don’t take on the whole project at once.

Don’t try to build all the features at once.

Go step by step.
Some key points which helped me in my journey:

- It’s just like muscle memory, the more you code the more it becomes natural.
- Anytime you learn a new concept, see how you can improve past code.

Read more ⬇

🔗 javascript.plainenglish.io/a-simple-and-e…

• • •

Missing some Tweet in this thread? You can try to force a refresh

Keep Current with Ankur💻🎧💪

Ankur💻🎧💪 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!


Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @TheAnkurTyagi

10 Sep
Mistakes I did in my early career days in tech.

A Thread...
Everyone was happy around me (Parents/Friends) when I get my first job.

I get a chance to work on MainFrames (aka COBOL/CICS)

I continued because I preassume that I don't have much choice, without ever asking myself if it made me happy?

Don't accept If you don't feel good.
I used to smoke/drink or party every weekend.

I felt this is it, This is the best life I wanted

Again I assume.

The biggest mistake of all time.

Don't fall into this trap, Higher chances this is being sold to you asap when you enter college/first job.

Think Before you go.
Read 12 tweets
8 Sep
Why now is the best time ever in human history to become a programmer

A Thread... Image
Let me tell you first thing before proceeding.

It doesn’t matter what you choose to do.

There will ALWAYS be some people telling you it’s a bad idea.


ALWAYS some people telling you it’s a good idea.
Most valuable aspects of being a programmer.

-You can build software to help others build software.

-You can build software to solve other people’s problems.

-You can build software to solve your own problems.
Read 12 tweets
24 Aug
Top 5 Things NOT to Say in a Job Interview.

A Thread... Top 5 Things NOT to Say in a Job Interview.
Few of us enjoy job interviews.

But if you’re going to land your dream job — whether it’s a junior role or senior.

Key phrases that will invariably mess up your chances, the moment you say them

5 sentences to avoid & why they’re so inappropriate, & what to say instead.
1. I want this much money

Yes, many employers are out to pay you as little as possible.

Yes, you should be forthright and not accept less than what you’re worth.

But that doesn’t mean you should start laying down red lines before you’ve even got the job.
Read 11 tweets
20 Aug
What do they not tell you about web development?

A Thread... What do they not tell you about web development?
Today, there are dozens of JavaScript frameworks are alive and everybody is suffering from two major problems:

- Framework fatigue
- Choice paralysis

And there are countless thousands of NPM packages.

But the problem is that the web is so dominant.
We can’t avoid it.
There were days of Netscape and IE5.

Since then the web has evolved from a platform for text and images to a platform that runs complete applications.

The web today is so much more powerful than it was 20 years ago.

It’s like comparing a calculator to a PC.
Read 10 tweets
16 Aug
I completed 12 years as a software developer last week.

Few honest takeaways about my experience with the job and the software engineering industry.

A Thread...
1. No one can stop you when you master the basics

- You can start with any technology you want.

But if you’re struggling, take a pause & restart your tech journey.

- Remember all new & fancy frameworks are based on the basics.

- Master basics you can code in anything.
2. “What's more important to you: Quantity or Quality?”

- Your answer might be: it depends.

But until you do an experiment in your core areas, how do you actually know about the quality.

Go & take calculative risk & be the change.
Read 13 tweets
3 Aug
How To Become A Self-taught Developer.

A Thread...
In this thread, I’m going to show you the e2e process

Along the way, I’m also going to discuss:

- How to learn to code in the first place
- What to learn after learning to code
- How to get your first coding job or internship
- Is it important to get a computer science degree?
It’s easy to lose motivation or get so frustrated you feel like throwing your computer against the wall, at the start of your journey but the truth is if you’re going to be successful at becoming a self-taught developer you need a solid game plan before you get started.
Read 26 tweets

Did Thread Reader help you today?

Support us! We are indie developers!

This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!