Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

12 Common Coding Mistakes to Avoid for Beginners

Great Learning via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore 12 common coding mistakes beginners should avoid in this 32-minute video tutorial. Learn to write cleaner, more efficient code by steering clear of pitfalls like infinite loops, incorrect data types, case sensitivity issues, and improper indentation. Gain practical tips to reduce debugging time, enhance user experience, and improve code quality and performance. Cover topics including off-by-one errors, modifying lists during iteration, mutable default arguments, exception handling, file management, hardcoding values, code complexity, and global variable usage. Apply these insights to code smarter and more effectively, setting a strong foundation for your programming journey.

Syllabus

- Beginning
- Mistake 1 - off-by-one error
- Mistake 2 - Infinite Loop
- Mistake 3 - Using the Wrong Datatype
- Mistake 4 - Ignoring Case-sensitivity
- Mistake 5 - Incorrect Indentation
- Mistake 6 - Modifying a List before Iterating
- Mistake 7 - Using Mutable Default Arguments
- Mistake 8 - Not Using Exception Handling
- Mistake 9 - Forgetting to Close Files
- Mistake 10 - Hardcoding Values
- Mistake 11 - Overcomplicating Code
- Mistake 12 - Overusing Global Variables

Taught by

Great Learning

Reviews

Start your review of 12 Common Coding Mistakes to Avoid for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.