We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Technology

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is Concept Programming?

By Jessica Reed
Updated: May 17, 2024
Views: 6,980
Share

Concept programming is a style of computer programming, also known as a programming paradigm, that aims to re-create the concepts in the programmer's mind as closely as possible within the program itself. The idea behind concept programming is that every piece of the code should mean something and should clearly represent what action the programmer wants that piece of the code to perform. Anything from needing an image to appear on screen to wanting an error message to display when an event occurs is considered a concept. Parts of computer code such as a semicolon that tells a line of code where to end are not concepts because they are there only to help the computer function and do not represent ideas from the programmer's mind.

The paradigm of concept programming is not a programming language itself. Rather, it's a method for evaluating other programming languages to identify their flaws. The end goal is to make the physical computer program as identical to the programmer's original, abstract idea as possible.

In concept programming, the programmer focuses on semantics and syntax. Semantics are how the program is expected to behave and syntax is how the programmer imagines it should be written. For example, in a Java program the code A+B might show addition between A and B. This program has good syntax because it closely resembles the programmer's original concept of addition. If, however, upon execution the program creates an error when trying to add A and B, then the program has poor semantics because it does not produce the expected result.

When writing code based on concept programming techniques, the programmer first determines the concepts the program needs to function. If the programmer was creating a virtual calculator, for example, she would likely imagine the concepts of being able to add, subtract, multiply, and divide. She would also imagine some way to input the data, such as using a keyboard, and a way to view the results on the screen. These ideas make up the concepts of the program. She might also consider what color and how big the calculator should be, but these are not concepts since they are not necessary for the application to run.

After the programmer finishes mapping out her concepts, she finds the best way to represent those concepts in the computer code. She seeks to write out code that closely matches her idea in terms of semantics and syntax. She may use pieces of pre-existing code, such as A+B, or create her own code to better represent her concepts.

As of mid-2011, XL is the only programming language created based on the concept programming paradigm. It aims to create flexible programming rules and syntax that match how a programmer thinks. It allows programmers to concentrate on what they want to create instead of worrying about non-concept items like ending a line of code with a semicolon.

Share
WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Editors' Picks

Discussion Comments
By anon178483 — On May 21, 2011

I'm the primary author of XL. This is a very good write-up. I would like to mention that the color or size of the calculator may be concepts for the designer of a calculator program, when they play a role in how the application runs (e.g. for a GUI calculator).

In some cases, GUI design is a key concept, that led to tools where the "language" or "notation" for entering the concept in the computer is no longer text-based, but graphical (e.g Visual Basic, Interface Builder, etc...)

Share
https://www.wisegeek.net/what-is-concept-programming.htm
Copy this link
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.