12 Common Coding Mistakes to Avoid for Beginners
Offered By: Great Learning via YouTube
Course Description
Overview
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
Related Courses
Learn to Program: Crafting Quality CodeUniversity of Toronto via Coursera 数据结构与算法 Data Structures and Algorithms
Peking University via Coursera 数据结构与算法第一部分 | Data Structures and Algorithms Part 1
Peking University via edX Software Construction in Java
Massachusetts Institute of Technology via edX Advanced Software Construction in Java
Massachusetts Institute of Technology via edX