How to Improve Your Programming Logic

Javokhir
2 min readFeb 6, 2021
Photo by Nate Grant on Unsplash

Logic in programming is a fundamental key to be good developer

Here I will provide you a list of 5 points, that in my opinion, to improve our programming logic

> Look at other people’s code

In programming we have many ways to solve problems, maybe another person solved the problem that you have in an optimal and simple way. Looking at other people’s minds is essential to advance as a programmer. You have GitHub to see lot of great projects.

>Think to solve

Programming is about solving problems, a good technique is to split the big problem in small ones to focus on each problem in a better way, you can use
pseudocodes in a program or in a simple paper.

>Learn about Data Structures and Algorithms

Learning about structures will give you a better plan to focus your problems and have an efficient software. You can play games like Chess and practice.

>Learn programming paradigms

A programming paradigm is like a blueprint to follow to create our projects. You can learn Functional Programming to learn how you can develop programs and solve problems in a different way.

>Help others

Help others to learn concepts and give advice, roadmaps, smart paths to them based on your experience.

>Practice

The most important point is this: practice. An algorithm is nothing more than an ordered and finite set of operations that we carry out for the sole purpose of finding a solution to a problem. So try to practice simple problems to get a better logic. Here are some resources : CodeWars, Hackerrank, Leetcode …

--

--