Skip to main content

How to start programming

 When you're starting in your process to become a Software Developer, either on your own or at a college, you'll need no understand the programming logic and how to solve different problems before learning a programming language. That's why I provide this tips and steps in order to understand programming.

First of all, you need to know basic concepts of computer science, such as how a computer works, parts of a computer, and some logic problems. To involve in computers world you can research about the afore mentioned topics. I recommend you to watch videos, read short posts and also trying to teach someone what you just read.

The second step I followed to involve in problem solving is creating flowcharts. I used to transform a bunch of exercises into flowcharts, and it helped me to understand how the programming logic works and to see many ways to solve the same problem. Though you need to learn some figures and know when and how to use them in order to create a correct chart, once you master it you'll see immediately changes in your logic. To do so, I recommend you this site https://dyclassroom.com/flowchart/exercise-1.

Next, before learning a programming language you need to pass your flowcharts to pseudocode. It's important to mention that although you can use any language in pseudocode, I suggest to do so in English because programming languages use it for keywords. The tool I used to write my pseudocode projects is Pseint, an application that helps you to simulate a programming language with basic instructions.

Finally, after successfully completing the last steps, you'll be able to write real code in any programming language you choose. Nonetheless, a wrong chose can be harmful when you are starting, that's why I recommend you Java. I consider that coding the first time in Java can help you to understand different programming concepts, styles, syntaxes and more.

To conclude, if you want to learn software development, you have to understand some basic details before writing code. To start, you'll need to know elemental information about computers. Then, design flowcharts as problem solution. After that, you can use Pseint in order to get acquainted with real coding. In the end, you can create real code in a programming language like Java.

Comments

Popular posts from this blog

How to Install or Upgrade neovim, the easy way

 The easiest way to get neovim on ubuntu or wsl ubuntu, is to simply run sudo apt install neovim , however, later on you will want to update it, and you will try to uninstall and run sudo apt update and then install neovim again. All of that to realize that the version remains the same. I found that the second easiest way of installing and upgrading neovim is to install it form ‘Download’. This will allow you to install the exact version of neovim that you want, and even better, to keep multiple versions of neovim at the same time. Beyond that you can code a script to automatically switch between versions. This is how I reinstalled neovim without loosing any configuration. I used this article as a reference: https://docs.rockylinux.org/books/nvchad/install_nvim/ . Backup your config files: I would recommend you to create a Github repository of your neovim configuration files, just in case. Check your current nvim bin file: The location might change depending on how you insta...

Loops in programming

 If we are starting in the programming world, we've ever came across with a problem that has repetitive code or, also when we're working with array and many other similar situations. In this blog, I'm going to explain what a loop is, its types and some examples. First, a loop is something that is repeating many times until we decided when it to stop. Taking an example from real life, it could be your daily commute, you go to your work or school every day in the same way. Now, applying it to programming, a loop can execute a specific block code the times we want. The perfect example is a counter, but we'll see this example further in the blog. Second of all, let's see some kinds of loops and which ones are the most common in real programming. In my opinion, the most used loop is for or foreach.  It is perfect to iterate over all the items in an array, since arrays are very common when getting information from databases such as users, products, etc. It also needs a st...