danaxoffshore.blogg.se

How to learn basic programming language
How to learn basic programming language









how to learn basic programming language

The steps of a process have to be told more precisely and without any ambiguity to our computer.Īnd that, my friend, is what we need programming languages for. So, we need a better, more efficient solutions for telling a computer exactly what it should do. However, even if you put plenty of effort into it, you would still end up with something ambiguous and difficult for a computer to understand. Surely, we could keep adding additional points to our instructions to make them more detailed and specific.

  • Further steps assume that there is a stove in the kitchen and that it is working in the first place.
  • You would know how much salt and pepper is enough to make the dish taste good.
  • A computer would not know what size the bowl should be.

    HOW TO LEARN BASIC PROGRAMMING LANGUAGE HOW TO

  • You would know how to whisk eggs in a bowl.
  • Following them correctly requires heaps of skills and assumptions as of how to cook, for example: However, the steps written in English are very ambiguous and imprecise. If you were making an omelette for the first time, you could probably follow these steps and end up with something edible on your plate at the end. So these steps are pretty clear and well structured, right?
  • Turn off the heat and put the omelette on a plate.
  • Let the omelette sit for 3 minutes in the pan.
  • Melt a tablespoon of butter in a frying pan.
  • Whisk the eggs in a bowl, add some salt and pepper.
  • If you wanted to give a computer a set of instructions on how to make a delicious omelette, you could write a list of the individual steps: To get a better idea about why we need programming languages to communicate with computers, let’s consider a simple example: making an omelette. I mean, Siri does a pretty good job at fulfilling your wishes in English, right? Why not just use plain English to tell your computer what it should do? Now, why do we need a programming language for if computers are so smart these days? Email Why do we need programming languages?











    How to learn basic programming language