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-2007 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Hosted software development: an emerging market [interview and podcast]
- Note: Click the player above to hear my podcast interview on hosted development with Jeffrey Walker and Jeff Leyser from Atlassian Software. Hosted software as a service (SaaS) development solutions have become an important option for mainstream programmers. These products range from straightforward offsite storage, such as...
- Blog posts 2008-05-11
- Photos: Top 10 reviews of the week
- Here are CNET Reviews' 10 favorite items from the past week, including Apple's 24-inch iMac, a Beltronics radar detector, and the "most sophisticated NAS device" CNET has tested.Here''s our weekly roundup of the new products CNET reviewers liked best. 1. 2008 BMW 135i Coupe Editors'' rating: 8.9...
- Image galleries 2008-05-10
- Blaupunkt New Orleans MP58
- The New Orleans MP58 shows that Blaupunkt customers get what they pay for. In contrast with the Brisbane SD48 that we reviewed recently, the New Orleans MP58is a stylish head unit with a well-thought-out interface for letting drivers search their MP3 files with ease. It may not have the...
- Product reviews 2008-05-09
- News to know: Office 2007 SP1; Microsoft security; KVM vs. Xen; AMD
- Notable headlines: Mary Jo Foley: Mark your calendars: Microsoft to push Office 2007 SP1 on June 16 EIC podcast: SAP; JavaOne; AMD, Microhoo Larry Dignan: Microsoft previews three critical bulletins; two for Office Mary Jo Foley: Microsoft shares...
- Blog posts 2008-05-09
- Jarum-Game Creator (exe)
- Jarum-Game Creator allows you to create great games using a simple programming language. Once you have completed your game it can be compiled into a stand alone .exe file. Updates and bug fixes will be sent though the updater that comes with Jarum-Game Creator v1.0. We have also included a...
- Software downloads 2008-05-09
- Zune of the future may come with copyright cop
- Microsoft is "exploring" the possibility of building in copyright protection into the Zune player, Saul Hansell writes in the Times. The agreement is part of NBC Universal's deal to sell its programming for Zune. Microsoft is parsing this story very closely -- to Clintonian levels, in fact....
- Blog posts 2008-05-08
- Malware shipped with Firefox 2 language pack
- Malware shipped with Firefox 2 language packif "language pack" is open source? Why they didn't catch it? :-)if "language pack" is open source? Why they didn't catch it? :-)if "language pack" is open source, why they didn't catch it?if "language pack" is open source, why they didn't catch it?if "language...
- Discussion threads 2008-05-08
- Malware shipped with Firefox 2 language pack
- Mozilla is warning that a Vietnamese language pack for Firefox 2 is carrying malware. In her blog, Mozilla security chief Window Snyder writes: The Vietnamese language pack for Firefox 2 contains inserted code to load remote content. This code is the result of a virus infection,...
- Blog posts 2008-05-08
- AMD's new roadmap: Can it execute?
- AMD's new roadmap: Can it execute?Is "asset smart" the new term for "fabless"?Is the term "asset smart" another way of saying, "Fabless"? I mean, "Fabless" does have a negative connotation to it. "Asset Smart" sounds new and fresh and exciting. I like it !!! Perhaps it means...
- Discussion threads 2008-05-08
- Mozilla spreads malware rather than security
- Vietnamese users turning to Mozilla's Firefox to offer then security got a shock yesterday when the company revealed that the Vietnamese language pack for Firefox 2 was contaminated with malicious code and that this had been available for download for three months. Because of a virus infection, the Vietnamese...
- Blog posts 2008-05-08
- YouTube Robot (exe)
- YouTube Robot help you download video from YouTube.com, Break.com, Putfile.com, Google.com,iflim.com,Vimeo.com and Angryalien.com convert it to various formats to watch it when you are on the road on mobile devices like mobile phone, iPod, iPhone, Pocket PC, PSP, or Zune. Support batch and schedule mode. You may as well schedule...
- Software downloads 2008-05-08
- MAXA Text2EXE (exe)
- MAXA Text-2-EXE allows you to save text encrypted as executable file. It looks like a normal text editor but can save your text encrypted in the executable itself. If you want to secretly distribute the text, you only have to send the file and the recipient will be able to...
- Software downloads 2008-05-08
- Community Wizard (zip)
- Start running your own professional looking Web site within a day. Community Wizard is written in ASP, so you can run it on any IIS Server with Windows 2000/XP. Community Wizard comes with tons of features such as; AdServer, Forums, Guestbook, Instant Messenger, Links Page, News, Polls, Signup/Login/Account, Sponsors, File...
- Software downloads 2008-05-08
- Zesez Language Spanish I & II (exe)
- Zesez Language Spanish I & II has a unique teaching method for learning new vocabulary. As one is quizzed more words, the program adapts its questions based on his or her progress. This ensures that one learns the words and phrases that he does not know and breezes through the...
- Software downloads 2008-05-08
- L-Ceps Personaltrainer Burmese (exe)
- L-Ceps Personaltrainer Burmese is designed for learners without or with little previous knowledge of the Burmese language. The comprehensive program contains 30 lessons and is comparable to 1-2 years of teaching. The lessons are covering the complete spectrum of traveling & social life, at home, at work, body & mind...
- Software downloads 2008-05-08
- L-Ceps Personaltrainer Hindi (exe)
- L-Ceps Personaltrainer Hindi is designed for learners without or with little previous knowledge of the Hindi language. The comprehensive program contains 30 lessons and is comparable to 1-2 years of teaching. The lessons are covering the complete spectrum of traveling & social life, at home, at work, body & mind...
- Software downloads 2008-05-08
- L-Ceps Personaltrainer Chinese (Mandarin) (exe)
- L-Ceps Personaltrainer Chinese (Mandarin) is designed for learners without or with little previous knowledge of the Chinese language. The comprehensive program contains 30 lessons and is comparable to 1-2 years of teaching. The lessons are covering the complete spectrum of traveling & social life, at home, at work, body &...
- Software downloads 2008-05-08
- L-Ceps Personaltrainer Tagalog (Filipino) (exe)
- L-Ceps Personaltrainer Tagalog (Filipino) is designed for learners without or with little previous knowledge of the Tagalog language. The comprehensive program contains 30 lessons and is comparable to 1-2 years of teaching. The lessons are covering the complete spectrum of traveling & social life, at home, at work, body &...
- Software downloads 2008-05-08
- L-Ceps Personaltrainer Thai (exe)
- L-Ceps Personaltrainer Thai is designed for learners without or with little previous knowledge of the Thai language. The comprehensive program contains 30 lessons and is comparable to 1-2 years of teaching. The lessons are covering the complete spectrum of traveling & social life, at home, at work, body & mind...
- Software downloads 2008-05-08
- L-Ceps Personaltrainer Vietnamese (exe)
- L-Ceps Personaltrainer Vietnamese is designed for learners without or with little previous knowledge of the Vietnamese language. The comprehensive program contains 30 lessons and is comparable to 1-2 years of teaching. The lessons are covering the complete spectrum of traveling & social life, at home, at work, body & mind...
- Software downloads 2008-05-08
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Performance Results: Intel Centrino with vPro technology and Intel Core 2 Duo Processor
-
"Intel® Centrino® with vPro™ Technology and the new 45nm Intel® Core™ Duo processor delivers greater than 2x the performance over older generation Intel® Centrino® components when your system is multitasking.
- View, compare, and get smart>>
- Business Software Center
- The Customer Collective: Join the online network for sales and marketing executives
- From our sponsors
- Oracle White Papers
-
- Data Grids and Service-Oriented Architecture »
-
- What's Required to Secure a Service-Oriented Architecture »
-
- Business Intelligence and Enterprise Performance Management »
-
- Making the Case for Oracle Database on Windows »
-






