Automatic Programming

Why Trust Techopedia

What Does Automatic Programming Mean?

Automatic programming is a type of computer programming where program code is automatically generated by another program based on certain specifications.

Advertisements

A program that writes more code is written, which then goes on and creates more programs. In a way, translators may be considered as automatic programs and the high-level language they are translating into a lower-level language is the specification.

Techopedia Explains Automatic Programming

Automatic programming didn’t always mean the generation of programs by another program. Its meaning evolved over time.

In the 1940s, it meant the automation of the manual process of paper-tape punching which were the programs of punched card machines.

Later it meant the translation of high-level programming languages such as Fortran and ALGOL into low-level machine code.

There are currently two types considered to be automatic programming:

  • Generative programming: This what normally happens in today’s programming where standard libraries are used to improve the efficiency and speed of programming. For example in C++, the cout function is part of the standard library, and the compiler simply supplies the code for cout during compile. The programmer does not need to re-implement it or even need to know how it works.

  • Source code generation: Source code is generated based on a model or template which is made through a programming tool or an integrated development environment (IDE). A good example of the is the Google/MIT App Inventor where users simply need to drag and drop functions that they want and then visually connect them to each other in order to define how the app works without ever typing any lines of code. A source code generator will then generate the code based on how the components are connected in the template that was created.

Advertisements

Related Terms

Margaret Rouse
Editor

Margaret jest nagradzaną technical writerką, nauczycielką i wykładowczynią. Jest znana z tego, że potrafi w prostych słowach pzybliżyć złożone pojęcia techniczne słuchaczom ze świata biznesu. Od dwudziestu lat jej definicje pojęć z dziedziny IT są publikowane przez Que w encyklopedii terminów technologicznych, a także cytowane w artykułach ukazujących się w New York Times, w magazynie Time, USA Today, ZDNet, a także w magazynach PC i Discovery. Margaret dołączyła do zespołu Techopedii w roku 2011. Margaret lubi pomagać znaleźć wspólny język specjalistom ze świata biznesu i IT. W swojej pracy, jak sama mówi, buduje mosty między tymi dwiema domenami, w ten…