Best Programming Practices



How to write good Programs

What you will learn

Programming Practices

Mistakes to Avoid in Programming

Code optimization

Writing Good Programs

Description

We write code, it works, but it is not elegant. it is not based on the software design principle. Sometimes it is not very much readable, not easily extensible, not easily explainable to others. Such a code might work, but it is not a clean code.

Clean code is actually Craftsmanship.

Writing a clean code requires knowledge and work. For writing clean code, we need to know the common mistakes which we may leave behind and the best practices which we should follow.


This course covers the knowledge part of writing the clean code. The knowledge is about learning from our own and from others experiences. Learning from others mistakes or experience is more important and should be done early as it saves huge cost of making the same mistakes ourselves. Understanding and walking the right path is easier if we adopt it early in our journey i.e. when we are learning to code.


This course also covers the common mistakes and the best practices of programming. It tells you about the common mistakes which are made while using the loops, in formatting the code, in using recursion, how we end up getting a dead code etc. We write code, it works, but it is not elegant. it is not based on the software design principle. Sometimes it is not very much readable, not easily extensible, not easily explainable to others. Such a code might work, but it is not a clean code.

‘;
}});

Clean code is actually Craftsmanship.

Writing a clean code requires knowledge and work. For writing clean code, we need to know the common mistakes which we may leave behind and the best practices which we should follow.

This course covers the knowledge part of writing the clean code. The knowledge is about learning from our own and from others experiences. Learning from others mistakes or experience is more important and should be done early as it saves huge cost of making the same mistakes ourselves. Understanding and walking the right path is easier if we adopt it early in our journey i.e. when we are learning to code.

This course also covers the common mistakes and the best practices of programming. It tells you about the common mistakes which are made while using the loops, in formatting the code, in using recursion, how we end up getting a dead code etc.

Introduction
Introduction
Pre-requisites
Basics
Meaningful Comments
Meaningful Names
Avoid Magic Numbers
Which Variable Types to use
Code Formatting
Conditions
Avoid errors by interchanging positions
Rearranging for clarity
Deadcode
Loops
Common errors of counters
Common errors in Infinite Loop
Unnecessary Iterations
Lists
Respect the Boundaries
Functions
Naming the Functions
Function Objectives
Function Sizing
Function Arguments
Argument Validation
Error Handling
Recursion
Classes
Class Size
Cohesion
Organizing for Change
Isolating from Change

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO

Check Today's 30+ Free Courses on Telegram!

X