[WEBINAR] The New Normal: Dealing with the Reality of an Unsecure World

Automatic Programming

Definition - 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.

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.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.