Don't start coding before watching this! | Must watch for beginners! | Coding Mistakes 😩

Nishant Chahar
17 Sept 202409:22

Summary

TLDRIn this video, Nishant Chahar addresses common mistakes beginners make in coding, such as memorizing syntax and multitasking, and emphasizes the importance of understanding logic, following a structured learning approach, and continuous practice. He advises against seeking the 'best' programming language and highlights the value of community support, creating projects, and maintaining a problem-solving mindset. Chahar encourages patience, as improvement in coding is gradual and compares the learning process to a marathon, urging viewers to persevere.

Takeaways

  • 😀 Understand logic, don't memorize – coding is about understanding how and why things work.
  • 🔄 Avoid multitasking – focus on one topic at a time to improve retention and mastery.
  • 🔧 Problem-solving is the core of coding – practice this skill to become a better coder.
  • 🏋️‍♂️ Don't quit too soon – coding requires persistence, much like going to the gym.
  • 🛠 Make projects, avoid tutorial hell – apply your knowledge through small projects to solidify your learning.
  • 👨‍💻 Connect with peers – working with others or joining coding communities helps you stay motivated and resolve doubts.
  • 💻 No best programming language – focus on learning one language well before exploring others.
  • 📝 Practice dry runs – running your code manually helps you spot mistakes and improve your problem-solving approach.
  • 🌐 Share your progress publicly – post projects on GitHub and LinkedIn to build your portfolio and network.
  • 🏃‍♂️ Coding is a marathon, not a sprint – take your time to grow and develop as a programmer.

Q & A

  • What is the biggest mistake beginners make when learning to code?

    -The biggest mistake beginners make is trying to memorize concepts. Instead, they should focus on understanding the logic behind coding and how things work.

  • Why is multitasking discouraged when learning coding?

    -Multitasking is discouraged because juggling multiple topics, like learning several programming languages at once, prevents deep understanding. It's better to follow a structured approach, focusing on one thing at a time.

  • What does the speaker mean by 'tutorial hell'?

    -Tutorial hell refers to watching many tutorials without applying the knowledge. Even after going through numerous tutorials, beginners may struggle to complete practical tasks like building a simple project.

  • Why does the speaker emphasize the importance of practice for at least 6 months to a year?

    -Coding requires consistent practice over time. In the first few months, progress may be slow or not immediately visible, but continuous effort leads to gradual and exponential improvement.

  • What are dry runs, and why are they important in coding?

    -A dry run involves manually walking through the logic of code to identify errors and better understand the solution. It helps improve problem-solving skills and reduces mistakes during coding.

  • How can public learning on GitHub and LinkedIn benefit a coding career?

    -Publicly sharing projects on GitHub and LinkedIn builds a portfolio, which can attract potential employers and help create a professional network. It also demonstrates initiative and progress.

  • Why does the speaker discourage beginners from asking for the 'best' programming language?

    -There is no single 'best' programming language. Beginners should start with one language, master it, and then explore others as needed for different use cases.

  • How does problem-solving mindset play a role in becoming a successful coder?

    -A problem-solving mindset is key because coding is not just about learning syntax but about breaking down complex problems into smaller, manageable parts and finding effective solutions.

  • What analogy does the speaker use to explain the learning process in coding?

    -The speaker compares coding to going to the gym: just as physical progress takes months of consistent effort, coding improvement happens gradually with continuous practice over time.

  • What key message does the speaker give about the pace of learning to code?

    -The speaker advises against rushing. Learning to code is a marathon, not a sprint. It’s important to be patient, make mistakes, and continue improving over time.

Outlines

00:00

🚀 Mistakes Beginners Make in Coding

The speaker opens by addressing the common mistakes beginners make when learning to code, such as starting incorrectly and getting demotivated. He emphasizes the importance of learning from these mistakes and introduces himself as Nishant Chahar. He encourages viewers to stay until the end of the video and engage in the comments section by sharing their struggles. Before diving into the tips, he makes an announcement about a new DSA (Data Structures and Algorithms) course, promoting the benefits of learning with his Cohort 5. He also offers structured coding resources through AlgoPrepX for various development courses and stresses the importance of enrolling soon due to limited offers.

05:03

🧠 Don't Memorize, Understand the Logic

The first major mistake beginners make is trying to memorize syntax instead of understanding the logic behind it. Nishant emphasizes the importance of comprehending how and why things work in coding, which makes problem-solving easier. He advises learners to focus on creating logic and solving problems rather than rote learning. The second mistake is multitasking—he warns against juggling multiple programming languages or concepts at once, recommending a structured learning approach. He suggests following a language-first strategy, mastering basics before moving to advanced topics.

👥 Find Support and Don't Work Alone

Nishant highlights the challenges of coding alone, stating that coding requires consistent practice over months to see progress. He suggests joining coding groups or online communities like Discord to find support. He recommends enrolling in courses such as AlgoPrep's DSA Cohort 5 to connect with a peer group on WhatsApp. He stresses the importance of problem-solving and continuous learning with a structured approach, avoiding the trap of trying to learn too many things at once.

🔍 Pick One Language and Avoid Tutorial Hell

There’s no 'best' programming language, and beginners shouldn't get caught up in debates about which one to learn first. Nishant advises picking a language that feels comfortable, mastering it, and then moving on to others. He also warns against falling into 'tutorial hell,' where learners watch many tutorials without actually building anything. To combat this, he suggests creating small projects, such as an expense tracker, to solidify what you’ve learned.

💪 Don't Give Up Too Early

The speaker urges beginners not to quit coding too early. Many give up within the first month, but he explains that initial struggles are normal and progress takes time. He compares learning to code with going to the gym, where you don’t see immediate results but gradual improvements over months. The key is to keep practicing, and eventually, progress will accelerate exponentially. Coding is a long-term journey, and patience is essential.

📝 The Importance of Dry Runs

Nishant discusses how dry runs—manually stepping through your code—are vital in understanding mistakes and improving problem-solving skills. He warns against the habit of submitting solutions repeatedly without understanding the errors, a common issue on coding platforms like LeetCode. Dry runs help map out the logic and can be especially useful during coding interviews.

🌐 Share Your Learning Publicly

The speaker encourages learners to share their projects and coding progress on platforms like GitHub and LinkedIn. By making their work public, they can build a portfolio, network with others, and gain recognition in the programming community. This also motivates others and helps learners get feedback from the broader coding world. He invites viewers to share their thoughts about the video on social media, emphasizing that public learning can help develop connections.

🧩 Develop a Problem-Solving Mindset

Programming is not just about learning syntax or libraries but developing a strong problem-solving mindset. Nishant advises breaking down larger problems into smaller challenges and treating coding as a problem-solving exercise. He cautions against focusing only on learning new tools and libraries, as true coding skills come from solving real problems.

⏳ Take Your Time, Coding is a Marathon

Nishant wraps up the video by reminding viewers that coding is a long-term process. Progress takes time, just like a tree that grows slowly or a gym routine that doesn’t show immediate results. He quotes Bill Gates, who said that people often overestimate what they can achieve in one year but underestimate what they can achieve in ten. He emphasizes the importance of continuous learning, patience, and the mindset that coding is a lifelong journey, not a sprint. He ends the video with a motivational message to keep learning and improving.

Mindmap

Keywords

💡Coding

Coding is the process of writing instructions in a language that computers can understand. It is the foundation of software development and is essential for creating applications, websites, and other digital products. In the video, coding is the central theme, with the speaker discussing common mistakes beginners make when learning to code and offering advice on how to overcome these challenges.

💡Data Structures and Algorithms (DSA)

Data Structures and Algorithms (DSA) are fundamental concepts in computer science that deal with organizing and manipulating data efficiently. In the script, DSA is highlighted as crucial for coding beginners, with the speaker mentioning a specific course that has helped many students succeed in interviews at top tech companies.

💡Problem-solving

Problem-solving in the context of coding refers to the ability to analyze a problem and come up with a logical solution using programming concepts. The video emphasizes that problem-solving is the most crucial part of coding, and understanding the logic behind programming constructs is more important than memorization.

💡Multitasking

Multitasking, as used in the video, refers to the practice of trying to learn multiple programming languages or concepts at once, which can lead to confusion and ineffective learning. The speaker advises against multitasking and suggests a structured approach to learning one thing at a time.

💡Structured approach

A structured approach in learning coding involves a step-by-step method, starting with basics and gradually moving to more complex topics. The video script mentions the importance of a structured approach to avoid feeling overwhelmed and to ensure a solid foundation in coding.

💡Coding groups

Coding groups are communities where individuals come together to learn, discuss, and solve coding problems. The video script suggests that being part of a coding group can be very useful, especially when learning alone can lead to frustration and quitting.

💡Best programming language

The concept of the 'best programming language' is addressed in the video as a common misconception. The speaker clarifies that there is no single best language and that it's more important to learn one well and then it becomes easier to pick up others based on different use cases.

💡Tutorial hell

Tutorial hell is a term used in the video to describe the feeling of watching many tutorials without being able to apply the knowledge practically. The speaker recommends creating projects as a way to avoid tutorial hell and to ensure that learning translates into practical skills.

💡Dry runs

Dry runs refer to the practice of going through a coding problem or solution mentally or on paper before writing actual code. The video script highlights the importance of dry runs for identifying mistakes and improving problem-solving skills in coding interviews and assessments.

💡Public learning

Public learning involves sharing one's coding projects and progress with others, often through platforms like GitHub and LinkedIn. The video encourages public learning as a way to strengthen one's portfolio, network with others, and showcase one's skills and progress in coding.

💡Problem-solving mindset

A problem-solving mindset is an attitude of approaching challenges with the intent to find solutions. In the context of the video, developing a problem-solving mindset is crucial for becoming an effective coder, as it involves breaking down complex problems into smaller, manageable parts and addressing them systematically.

💡Patience

Patience is emphasized in the video as a key attribute for learning to code, drawing a comparison to a marathon rather than a sprint. The speaker advises against expecting immediate results and encourages a long-term perspective, similar to the gradual growth of a bamboo tree.

Highlights

Most people start coding the wrong way, leading to frustration and quitting.

Avoid memorizing coding syntax; focus on understanding logic and how things work.

Multitasking is ineffective when learning coding; follow a structured approach.

To master a subject, learn basics first before jumping into advanced topics.

Coding requires continuous practice for 6 months to a year to see improvements.

Joining peer groups or coding communities can help resolve doubts and maintain motivation.

There is no single 'best' programming language; start with one, learn it well, and then expand.

Avoid 'tutorial hell'; watching multiple tutorials without practice won't help you learn.

Don’t quit coding too early; initial struggles are normal, and improvement comes with practice.

Dry runs of code are essential for identifying mistakes and improving problem-solving.

Share your coding projects on GitHub and LinkedIn to strengthen your portfolio and network.

Develop a problem-solving mindset; real coding skills come from solving problems step by step.

Don't rush the learning process; coding, like building a strong foundation, takes time.

Coding is a marathon, not a sprint; continuously improve and code throughout your career.

Bill Gates: People overestimate what they can do in one year and underestimate what they can do in ten years.

Transcripts

play00:00

If you are starting coding without knowing these things, then you are wasting your time.

play00:03

Most people start in the wrong way, get frustrated along the way, and end up quitting.

play00:08

In today's video, I will tell you about the mistakes that beginners commonly make,

play00:11

which lead them to feel demotivated and give up on coding.

play00:15

Trust me, this video is going to be a lifesaver for you, so be sure to watch until the end.

play00:19

Now, let's get started.

play00:20

Hi guys, I am Nishant Chahar.

play00:21

Welcome back to the channel.

play00:22

Before we dive into the video, quickly tell me: what is your biggest struggle in coding?

play00:27

And at the end of the video, comment on which mistake you have made or which mistake you relate to the most.

play00:33

I am very excited to read your experiences in the comment section, so do leave a comment.

play00:38

Now, let's start the video.

play00:39

There is an important announcement for everyone watching this video.

play00:43

If you are learning how to code, data structures and algorithms (DSA) are going to be very important.

play00:47

We have launched our Cohort 5 of DSA, and we have already taught around 5,000 students.

play00:51

Many have successfully cracked interviews at companies like Google, Amazon, and Microsoft.

play00:55

If you want to see the reviews, you can check out our website.

play00:58

There are many amazing reviews.

play00:59

So, increase the pace and definitely check it out and enroll.

play01:02

The price is Rs. 4,500, including GST.

play01:04

You don't need to pay anything separately.

play01:06

The early bird offer is ending soon, so enroll quickly.

play01:08

If you want a recorded version of all the courses—whether it’s LLD, development, DevOps,

play01:13

back-end, front-end, DSA, or anything else—you can find it on AlgoPrepX.

play01:17

You’ll get it in a structured format and also get the questions on the same platform.

play01:21

You can even practice development problems.

play01:23

So, go quickly and check it out.

play01:25

Let's start the video .The biggest mistake people make is memorizing things.

play01:29

You don’t have to memorize anything in coding.

play01:33

You need to learn and understand the logic.

play01:35

You should understand how things work and why they are used.

play01:38

Instead of memorizing

play01:39

syntax and concepts like loops, conditions, breaks, and others, focus on understanding their purpose and application.

play01:49

Once you grasp these concepts, it will be easier for you to create logic and solve problems.

play01:54

Problem-solving is the most crucial part of coding.

play01:58

The second mistake is multitasking.

play02:01

Do one thing at a time; don’t juggle multiple things simultaneously.

play02:05

Multitasking is not effective when learning new things.

play02:08

Beginners often say, “Today I’m studying DSA,

play02:10

tomorrow I’ll study Python, the day after I’ll study C++, then I’ll learn React, followed by HTML, then JavaScript.”

play02:16

Because of this, you end up learning nothing.

play02:18

Follow a structured approach.

play02:19

For example, if you want to learn DSA, start by learning a language,

play02:22

then basic syntax, followed by arrays, strings, and so on.

play02:32

If you are learning web development,

play02:38

start with HTML, JavaScript, CSS, basic projects, and then move on to React.

play02:43

Jumping directly into advanced topics without mastering the basics will not work.

play02:47

If you want resources or a roadmap, there will be a 90-day roadmap for DSA in the i Button, along with a list of free resources.

play02:55

This will help you study for free if you are interested in development, cloud, AI, or anything else.

play03:03

When working alone, it’s easy to get frustrated and give up.

play03:10

Coding requires continuous practice for at least 6 months to a year.

play03:15

You will encounter doubts and problems that need to be resolved.

play03:19

Coding groups or peer groups are very useful.

play03:22

If you’re in a good college, connect with your peers.

play03:25

If not, join Discord

play03:26

or enroll in courses where you can find like-minded peers.

play03:29

Definitely check out AlgoPrep's Cohort 5 for DSA.

play03:32

You will join a community on WhatsApp where you can ask questions and get help from others and instructors.

play03:43

You can check the launch video from i Button for better understanding.

play03:50

The fourth mistake is asking for the best programming language.

play03:53

there is no single "best" programming language.

play03:57

Start with one language, learn

play04:00

it well, and then it will be easier to pick up other languages.

play04:03

Different languages have different use cases.

play04:06

For web apps, learn JavaScript.

play04:10

For iOS apps, learn Swift.

play04:13

For Android apps, learn Kotlin and Java.

play04:17

PHP was used for the back-end of Facebook, and React is popular.

play04:21

Along with that, your JavaScript is being used a lot.

play04:23

Now, whatever language you understand well, whatever language is easy

play04:27

for you to learn, you should start with that language.

play04:28

That is the best language.

play04:29

So don't get caught up in the debate about which is the best programming language.

play04:33

If you pick one, learn it well.

play04:34

After that, you can jump to another language.

play04:36

The fifth problem that comes is tutorial hell.

play04:39

I have faced this myself, and many of my friends have also faced it.

play04:42

What does this mean?

play04:42

You have seen many tutorials—50 to 60 tutorials.

play04:45

After watching them, you feel that you know that thing.

play04:48

For example, you learned Python.

play04:49

You watched the entire tutorial on Python.

play04:51

And finally, when a friend asked you to make a calculator in Python, you couldn't do it.

play04:55

This is called tutorial hell.

play04:57

So whenever you are learning something, it becomes very important to make projects.

play05:02

Try to create small projects, mini projects.

play05:04

For example, if you are learning web development, you can create an expense tracker.

play05:08

What is an expense tracker?

play05:09

It will show you where you have spent your money.

play05:12

People typically use Excel sheets for this, but you can build your own app for it.

play05:15

The sixth point is, please don’t quit too early.

play05:17

Generally, people try for 10 to 15 days, try for a month, and then give up.

play05:22

The same problems occur with all beginners.

play05:24

It is difficult at the beginning, and it was the same case with me.

play05:28

At that time, it may feel like coding is not for you, but it’s just problem solving.

play05:32

The more you practice and try, the better you will become.

play05:36

So don’t quit too early.

play05:38

Do your best, try to solve problems, and things will start improving.

play05:43

A simple example: when you go to the gym, for at least 3 to 6 months, you won’t see any changes in your body.

play05:48

The same is true for coding.

play05:49

When you start practicing, for the first 3 to 6 months, you might

play05:52

not even know if you are improving.

play05:54

But then, your progress will suddenly accelerate.

play05:56

Slowly, gradually, and then exponentially, you will start to see significant improvements.

play06:02

So don’t give up quickly.

play06:03

Keep practicing, and you will learn effectively.

play06:06

The seventh point is the importance of dry runs.

play06:08

Generally, whenever you are giving a coding interview,

play06:10

practicing coding questions online, or taking an online assessment, dry runs become very important.

play06:16

During interviews, you will be asked to do a dry run.

play06:20

This will help you identify your mistakes.

play06:22

On platforms like LeetCode, people often keep submitting solutions without understanding their mistakes.

play06:27

You can’t learn this way.

play06:28

So whenever you write any code or devise a solution to a problem,

play06:31

you should definitely try a dry run.

play06:32

For example, if you’re working on a palindrome check,

play06:34

make a mind map on paper: first this will happen, then this, then this, and so on until you reach the solution.

play06:40

It becomes quite easy to translate this into code.

play06:43

This will help you resolve errors and understand

play06:46

how much your problem-solving ability is improving.

play06:49

The eighth point is public learning via GitHub and LinkedIn.

play06:53

Share your learnings publicly.

play06:55

If you’ve made a game, share it.

play06:57

If you’ve completed a challenge, share it.

play07:00

If you’ve completed a challenge, share it on GitHub.

play07:03

Additionally, post it on LinkedIn.

play07:06

This will benefit you greatly.

play07:07

If you’re watching this video until now, you can post that you’ve learned a lot.

play07:12

You can share on LinkedIn that Nishant’s video was very helpful.

play07:15

I would

play07:15

appreciate it and be motivated to make more such videos for you.

play07:19

Keep posting on LinkedIn or GitHub.

play07:21

This will strengthen your portfolio and make it easier to network.

play07:25

When you send connection requests,

play07:27

people will check your profile and see your projects.

play07:31

It makes it easier to make connections.

play07:34

The ninth point is developing a problem-solving mindset.

play07:37

The real fun of programming comes when you are solving problems.

play07:40

By just learning syntax and libraries, you won’t become a real coder or problem solver.

play07:47

Software engineering is all about problem solving.

play07:50

Many people learn lots of libraries

play07:52

and syntax but can’t become good programmers or developers.

play07:57

You need to work on your problem-solving ability.

play08:00

Solve problems, break them down step by step,

play08:04

and learn how to address smaller issues to solve the larger problem.

play08:07

Treat every coding problem as a challenge.

play08:10

Break it down into smaller challenges and try to solve them.

play08:14

The final and most important thing is not to rush.

play08:16

There is a process, and it takes time.

play08:18

Just like a tree takes time to grow, if you know bamboo, it stays in the ground for 5 to 6 years before it starts growing.

play08:26

Learning something new also takes time.

play08:28

Don’t expect to master it immediately.

play08:30

Similar to going to the gym: if you are trying to build your body, you won’t see results immediately.

play08:38

It will take time.

play08:39

Bill Gates said a very good thing: people overestimate

play08:42

what they can do in one year and underestimate what they can do in ten years.

play08:45

This applies to coding and any career.

play08:48

In one year, you might not achieve much, but in ten years,

play08:51

if you work hard continuously, you’ll see tremendous progress.

play08:55

If you liked these points, please let me know in the comment section.

play08:59

Like the video, comment on what your favorite learning from this video was.

play09:02

Remember, coding is a marathon, not a sprint.

play09:05

You don’t stop after 100 meters.

play09:06

It’s a marathon, and you need to keep coding throughout your life if you’ve chosen a software engineering path.

play09:10

So don’t be afraid.

play09:12

Learn slowly, make mistakes, and improve yourself.

play09:15

Thank you so much for watching this video.

play09:16

I hope you liked it.

play09:17

Like, subscribe, and see you in the next video.

play09:20

Till then, bye.

Rate This

5.0 / 5 (0 votes)

関連タグ
coding tipsbeginner mistakesproblem solvingmotivationprogramming mindsetDSAproject buildinglearning roadmappeer supporttutorial hell
英語で要約が必要ですか?