Automatic Programming

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

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…