Tuesday, February 19, 2019

Points to improve your programming logic!

As we know, Logic in programming is a fundamental and basic key to be a good programmer. Depending of your job place, you are going to use more algorithms or not. If you are a web designer probably you are not going to deal with complex algorithms, but if you are front-end developer maybe a little more and if you are a back-end developer much more. First you need to understand the requirement thoroughly, then go through the workflows, Class modules, etc. 

This article is for everyone who is Software Engineer, if we manage to develop a good logic we will be able to move through the different languages in a flexible way, try to do not depend on the language.

  •  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 pseudo codes in a program or in a simple paper. Here you have to be understood concepts like loops, conditions, workflows, etc.

  • 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.

  • 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 Mathematics.

  • Learn programming paradigms
A very good point is to learn programming paradigms. Probably one of the most programming paradigm is the The Object-Oriented Paradigm (OOPs). 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.

  • 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 a lot of great projects.