Add to Google

Saturday, March 31, 2012

How Do Computer Programmers Write Code?

Computer programmers are a vital workforce. Computers are an indispensable tool in today’s society, but few of us ever spare a though to the unnoticed few who plan, design, write, test, debug, rewrite, and maintain the software that keeps the digital age running at the light speed that it is today. 

Programmers are the people who literally write the program code that gets interpreted by a machine, executed on its processor and then displayed as output for all to see: but when somebody says they’re a programmer most of us cower away in awe and confusion. Programs interact with our promotional USB devices, or manipulate our photos, or browse the web and they literally breathe life into our computers. What exactly is a programmer? What do they do? What is programming?

Programming, literally, is the term used to describe making the program that will run on a computer. Common computer programs will include the operating system and kernel (to an extent), as well as the web browser, the office suite and text editor, and even computer games. The step from an engineer coming up with an idea to us double clicking it on a promotional USB flash drive or CD is a big one, so let’s examine in a bit more detail how a computer program might come into existence.

Generally, it will start with an idea for a program. This could include a simple computer game, or something as complicated as software which runs on trading indexes in stock exchanges. The most common things for a programmer or engineer to think about when he’s planning his program will include what input is given, what process needs to happen and what the output needs to look like. A basic example might be a word processor. Here the computer program will take in information, or input, in the form of key presses. It will then process that information, or in this case turn the key presses into digital signals which can then be saved, deleted or processed more. Finally, output of a word processor might include displaying the text on a monitor, or sending the document to a printer.

A Sandisk-brand USB thumb drive, SanDisk Cruze...A Sandisk-brand USB thumb drive, SanDisk Cruzer Micro, 4GB. (Photo credit: Wikipedia)

Once the idea is fixed in a computer programmer’s head, he might use flow charts and other tools to start to plan and design how his program might work, in terms of data flows, input and output, among other things. Then, when he’s got a rough idea of how it all needs to look, he’ll begin to ‘program’, or write the program code. Programs are usually written in languages, such as C++, Java, Python, C# or Ruby. Program languages are literally just that, a ‘language’ of instructions which provide a link between the human and the computer. Program languages are ‘human-readable’, to the extent that humans can understand them, but rather than tell a story or detail an event program languages relay instructions; like ‘if this happens do this’ or ‘when this happens do this and get rid of this’. To back-up safely and ensure no loss of work, a programmer may use a custom USB memory stick and limit the risk of not being able to open files if the computer were to fail.

When the programmer has written his code, he either compiles it (if the language he’s chosen to write in needs compiling) or executes it directly into the debugger. Here, the debugger will look for mistakes or inefficiencies in his program code, which the programmer can then rectify before saving his finished code. Some computer programs will consist of millions of lines of code; which will tell the computer everything from how to install a program and to what to do when the shutdown command is sent. Programmers are found the world over and are a very, very important occupation.

USB Design is a manufacturer of promotional USB sticks and other promotional gadgets. We constantly write technical content to engage with our market and strive to be the best in our industry.

Enhanced by Zemanta

Here Are Some of My Most Popular Posts Since Day One.

If you like my blog Please Subscribes to my RSS Feed for updates and more


↑ Grab this Headline Animator

Subscribe via email

Enter your email address:

Delivered by FeedBurner
Your Email Will never be shared or Made Public

Related Posts Plugin for WordPress, Blogger...