From Source Code to Machine Language
The statements that are written by the programmer are called "source language," and they are translated into the computer's "machine language" by programs called "assemblers," "compilers" and "interpreters." For example, when a programmer writes MULTIPLY HOURS TIMES RATE, the verb MULTIPLY must be turned into a code that means multiply, and the nouns HOURS and RATE must be turned into memory locations where those items of data are actually located.
Grammar and Syntax
Like human languages, each programming language has its own grammar and syntax. There are many dialects of the same language, and each dialect requires its own translation system. Standards have been set by ANSI for many programming languages, and ANSI-standard languages are dialect free. However, it can take years for new features to be included in ANSI standards, and new dialects inevitably spring up as a result.
Low Level and High Level
Programming languages fall into two categories: low-level assembly languages and high-level languages. Assembly languages are available for each CPU family, and each assembly instruction is translated into one machine instruction by the assembler program. With high-level languages, a programming statement may be translated into one or several machine instructions by the compiler.
Following is a brief summary of the major high-level languages. Look up each one for more details. For a list of high-level programming languages designed for client/server development, see client/server development system.
ActionScript
Programming language for Flash programs. See Flash and ActionScript.
Ada
Comprehensive, Pascal-based language used by the Department of Defense. See Ada.
ALGOL
International language for expressing algorithms. See ALGOL.
APL
Used for statistics and mathematical matrices. Requires special keyboard symbols. See APL.
BASIC
Developed as a timesharing language in the 1960s. It has been widely used in microcomputer programming in the past, and various dialects of BASIC have been incorporated into many different applications. Microsoft's Visual Basic is widely used. See BASIC and Visual Basic.
C
Developed in the 1980s at AT&T. Widely used to develop commercial applications. Unix is written in C. See C.
C++
Object-oriented version of C that is popular because it combines object-oriented capability with traditional C programming syntax. See C++.
C#
Pronounced "C-sharp." A Microsoft .NET language based on C++ with elements from Visual Basic and Java. See .NET.
COBOL
Developed in the 1960s. Widely used for mini and mainframe programming. See COBOL.
dBASE
Used to be widely used in business applications, but FoxPro (Microsoft's dBASE) has survived the longest. See Visual FoxPro, FoxBase, Clipper and Quicksilver.
F#
Pronounced "F-sharp." A Microsoft .NET scripting language based on ML. See F#.
FORTH
Developed in the 1960s, FORTH has been used in process control and game applications. See FORTH.
FORTRAN
Developed in 1954 by IBM, it was the first major scientific programming language and continues to be widely used. Some commercial applications have been developed in FORTRAN. See FORTRAN.
Java
The programming language developed by Sun and repositioned for Web use. It is widely used on the server side, although client applications are increasingly used. See Java.
JavaScript
A scripting language widely used on the Web. JavaScript is embedded into many HTML pages. See JavaScript.
LISP
Developed in 1960. Used for AI applications. Its syntax is very different than other languages. See LISP.
Logo
Developed in the 1960s, it was noted for its ease of use and "turtle graphics" drawing functions. See Logo.
M
Originally MUMPS (Massachusetts Utility MultiProgramming System), it includes its own database. It is widely used in medical applications. See M.
Modula-2
Enhanced version of Pascal introduced in 1979. See Modula-2.
Pascal
Originally an academic language developed in the 1970s. Borland commercialized it with its Turbo Pascal. See Pascal.
Perl
A scripting language widely used on the Web to write CGI scripts. See Perl.
Prolog
Developed in France in 1973. Used throughout Europe and Japan for AI applications. See Prolog.
Python
A scripting language used for system utilities and Internet scripts. Developed in Amsterdam by Guido van Rossum. See Python.
REXX
Runs on IBM mainframes and OS/2. Used as a general purpose macro language. See REXX.
VBScript
Subset of Visual Basic used on the Web similar to JavaScript. See VBScript.
Visual Basic
Version of BASIC for Windows programming from Microsoft that has been widely used. See Visual Basic.
Web Languages
Languages such as JavaScript, Jscript, Perl and CGI are used to automate Web pages as well as link them to other applications running in servers.
Millions of Languages!
Programmers must use standard names for the instruction verbs (add, compare, etc.) in the language they use. In addition, a company generally uses standardized names for the data elements in its databases. However, programmers typically "make up" names for all the functions (subroutines) in the program. Since programmers are loathe to document their code, the readability of the names chosen for these routines is critical.
In a single program, the programmer could make up hundreds of function names as well as names for data structures that hold fixed sums, predefined tables and display messages.
Just Make It Up!
Unless rigid naming conventions are enforced or pair programming is used, whereby one person looks over the shoulders of the other, programmers can make up names that make no sense whatsoever. Little understood by non-programmers, this is the bane of many professionals when they have to modify someone else's program. Debugging another person's code is very difficult if the names are cryptic, and there are few comments, which is often the case. It often requires tracing the logic one statement at a time.
In fact, if programmers are not attentive to naming things clearly, they can have a miserable time reading their own code later on. See pair programming, programmer, to the recruiter and naming fiascos.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2008 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Does IT really need to fear multicore?
- While multicore chips hold great promise for applications and computing power they could wreak havoc on technology departments. That's the message from Gartner analyst Carl Claunch, who argued Thursday that IT types should fear--yes fear--multicore technology. Multicore chips carry multiple brains on them and companies like Intel...
- Blog posts 2008-10-15
- Workout for brain just a few clicks away
- Researchers at UCLA studied people doing Web searches and found that it sharpened the memories of middle-aged and older people. CHICAGO--Searching the Internet may help middle-aged and older adults keep their memories sharp, U.S. researchers said on Tuesday. Researchers at the University of California...
- News items 2008-10-15
- IT's challenges: The end of device charging; ROI; Super programmers
- Gartner on Tuesday outlined its grand IT challenges from 2008 to 2033 and it includes a world where you'll never have to charge your device. That was one of the futurama type predictions outlined by Gartner analyst Ken McGhee at the firm's Symposium ITxpo. These prediction presentations...
- Blog posts 2008-10-14
- Brightcove overhauls UI with Brightcove 3
- Today Brightcove is rolling out a new application as part of their web platform for content creators (Update: here's a post by one of the Flex developers who worked on it). The new user interface and features are some of the coolest things that I've seen in the ever popular...
- Blog posts 2008-10-14
- Digging into the Silverlight 2 announcement
- Digging into the Silverlight 2 announcementEclipseRyan - I guess the point with the Eclipse stuff is to appeal to Java developers who don't want to step out of Eclipse to do RIA development, much the same approach Adobe took with Flex.RE: Digging into the Silverlight 2 announcementHey Ryan,I totally agree...
- Discussion threads 2008-10-14
- Hoping for AppleTV update at Apple's notebook event
- The clock is ticking toward the big Apple event - you know, the one where the company is expected to announce the sub-$1,000 notebook and/or a new design to the MacBook line and/or the move into Nvidia's graphics chipset and/or something altogether different. (Dontcha just love the Apple rumor mill?)...
- Blog posts 2008-10-13
- And the new name is ... Windows 7
- And the new name is ... Windows 7And the new name is...Windows 7This is great news from Microsoft, and a death knell to the rest of the software world! Apple and Linux, take heed, your end is at hand, and its name is Microsoft!!They're going to have a heck...
- Discussion threads 2008-10-13
- Egnyte: using and sustaining Enterprise 2.0
- Egnyte, in a nutshell, is a software as a service, cloud storage application. But it's a lot more than just that. It feels like your online home of files, storage and where you put your valuables. Egnyte started out because the small business, which is...
- Blog posts 2008-10-13
- Facebook as social rule of thumb?
- This new course I'm taking introduces sociology, and I assure all you budding sociologists who read that this new-found knowledge isn't going to my head. It seems for many, especially students who are forced into a semi-confined place as others, take precedent, that Facebook confirms events within our lives. ...
- Blog posts 2008-10-13
- Peeling Back the Microsoft Oslo 'Onion'
- At the core of the Oslo onion: modeling language and repository by Joe McKendrick
- Blog posts 2008-10-13
- Purported aluiminum MacBook leak video
- Purported aluiminum MacBook leak videoIt is a fakeWhy no wide angle shot of the entire unit?Like the three blind men and the elephant: "seeing" small parts of it from different areas give the impression of something entirelly different then viewing the elephant as a ahole.Could be the same psychiatry is...
- Discussion threads 2008-10-11
- Microsoft Big Brains: Gary Flake
- Microsoft Big Brains: Gary FlakeThe Live products keep getting betterI am a Microsoft programmer who does web and normal programming. The web programming tools are getting better and better. But, Popfly is an example of the way that the web can be used for both programming and for...
- Discussion threads 2008-10-10
- Is Google working on the synchronization problem?
- Is Google working on the synchronization problem?Very good insights. The synchronization problem is VERY important. It iskey for offline access and also just to speed up the applications when online.But, we still need an efficient high level language with special sandboxing. Or can JavaScript get good enough? Though, we do...
- Discussion threads 2008-10-10
- Microsoft renames its 'D' language 'M'
- Microsoft renames its 'D' language 'M'Brilliant move ... Duh!Brilliant move! There's already a language named M, formerly known as MUMPS. The Veterans Administration (now Dept. of Veterans Affairs) wrote its DHCP Decentralized Hospital Computer Program in M and SAIC used that as the basis for the CHCS program...
- Discussion threads 2008-10-10
- Microsoft renames its 'D' language 'M'
- Microsoft is continuing to slowly trickle out details about its Oslo modeling strategy. The latest info with company has gone public are the names of the three Oslo components it will release in Community Technology Preview CTP form at the Professional Developers Conference PDC, by Mary Jo Foley
- Blog posts 2008-10-10
- Neoxen Qwined 2008 (exe)
- Qwined is a Multilingual Technical Editor supporting nearly 100 Programming Languages and Configuration File Formats out of the box. It is localized for nearly 30 languages covering all the continents. It features Code Folding, Syntax Styling, Regional Selections, and Regular Expressions. Qwined is highly configurable and it integrates into Windows...
- Software downloads 2008-10-10
- 2009 Dodge Ram 1500 Laramie Crew Cab
- Photo gallery:2009 Dodge Ram 1500 Laramie CrewWhen we first laid eyes on the Dodge Ram, a few words came to mind: gargantuan, behemoth, colossal. The words that didn't immediately come to mind when the big ol' truck rolled into the CNET garage were "high" or "tech." However, after--literally--climbing into the...
- Product reviews 2008-10-09
- Look who’s buying Vista Home Basic hint: it’s not home users
- Look who’s buying Vista Home Basic hint: it’s not home usersMakes senseMakes sense. Your average small biz probably doesn't want very much. They just want something that works. If it runs the databases and the tax software, it's good enough. For a small business, a single PC is usually...
- Discussion threads 2008-10-09
- Mac OS X Patch Day: 40 security flaws fixed
- Apple has shipped another whopper of a patch to cover a total of 40 documented vulnerabilities affecting the Mac OS X ecosystem. The Security Update 2008-007, available for Tiger and Leopard, covers a range of third-party components and Mac OS X flaws that could users at risk...
- Blog posts 2008-10-09
- London Stock Exchange website reports incorrect prices
- London Stock Exchange website reports incorrect pricesMicrosoft Technology at its finestSince Both NASDAQ and the London Stock Exchange were MS case studies about how great Windows is, guess Windows really is the POS we all thought it is.Funny how they never had these errors on previous systems and now with...
- Discussion threads 2008-10-09
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
Fusion
- There’s a new energy coming from the people of AMD. Its the power of Fusion.
- Learn about the power of fusion at work and the industry-changing impact of accelerated computing.
-
- View AMD video, case studies, blogs, forums, and more on ZDNet »





