Tue. Apr 7th, 2020

Flipclap

Technology Made Easy

What Is Computer Programing

Computer programming is your way of producing applications. But what is applications, and how can it be made? What’s Software? Software is a set of directions for a pc. Its somewhat such as a cooking recipe: Crack an egg in a bowl – Whisk the egg Put a pan on medium heat – Grease your pan – Pour your eggs to the pan – So forth – Instead of employing computers, ingredients manipulate information. The instructions within applications appear more such as this: Load some data – load any other data – Transform those two pieces of information into effect information – Send the outcome data to the monitor for viewing – Send the outcome Data over the net – And so forth – These directions are often called source code.

Source code is a set of directions that are written that a pc can comprehend. What Does Source Code Look Like? Code isn’t written in natural languages, like English. Here is a small program written in a language called Ruby: require open uri – require json – FRONT’PAGE’URL = https:\/\/reddit.com\/r\/all.json – front’page = JSON.load.read) – top’post = front’page – This program shows the current top article on reddit, like this: The top article on reddit is: One of my favorite things about working in the ski fields – http:\/\/i.imgur.com\/hWwlWgI.jpg – Here is the exact same program, written in a similar language called Python: import urllib, json – FRONT’PAGE’URL = https:\/\/reddit.com\/r\/all.json.

Front’page = json.loads.read()) – top’post = front’page – here’s the same app in a different looking language named Clojure: – – )] – – ) – )) – As you can tell, programming languages are very different to natural languages. Natural languages are ambiguous, with numerous different levels of meaning sarcasm, innuendo, and that kind of things. Thats great if you are communicating with a human, but computers do not understand any of that. Computers take everything literally. The number five is either odd or, but thats not what I meant. Its More Than Just Writing Code – Writing code exactly is merely one part of making applications. Large pieces of applications like Windows, OS X, and large budgets games are created up of millions of lines of code.