What if writing code felt like chatting with a friend?
Coding can be tricky. There are lots of symbols, rules, and strange words. But what if you could build apps just by writing simple sentences in English?
That is the idea behind a new kind of language called ConvLang (short for Conversational Language).
What Is ConvLang?
ConvLang lets you write code like you are giving instructions to a person. You do not need to learn a traditional programming language. You just type what you want the app to do, like this:
When someone clicks the "Submit" button, check if the form is filled in.
If it is not, show a red warning.
If it is, send the form and say thank you.
ConvLang then turns that into real working code for your website or app.
Why Is It Useful?
- Simple to learn
You write in plain language. No complicated syntax.
- Fast to build things
Create basic apps, websites, or tools quickly.
- Great for beginners
Anyone can use it, including students, teachers, and hobbyists.
- Easy to understand
Even if someone else wrote it, you can follow what it does.
Example: A To-Do List App
Here is how you might build a small task-tracking app using ConvLang instructions:
Show a blank to-do list when the app opens.
When the user types something and presses Enter, add it to the list.
If the user checks the box, mark the task as done.
Now compare that to traditional JavaScript code:
document.addEventListener("DOMContentLoaded", () => {
const input = document.getElementById("taskInput");
const list = document.getElementById("taskList");
input.addEventListener("keydown", (e) => {
if (e.key === "Enter" && input.value.trim() !== "") {
const item = document.createElement("li");
const checkbox = document.createElement("input");
checkbox.type = "checkbox";
checkbox.addEventListener("change", () => {
if (checkbox.checked) {
item.style.textDecoration = "line-through";
} else {
item.style.textDecoration = "none";
}
});
item.textContent = input.value;
item.prepend(checkbox);
list.appendChild(item);
input.value = "";
}
});
});
The ConvLang version is clearly easier to understand and write, especially for people new to coding. You could even imagine extending it to fun ideas like making the task list glow like a neon sign when everything is completed.
How Does It Work?
ConvLang uses AI to understand your sentences and turn them into actual code. You can view and edit the final code if you want, or just let the system handle it.
Is This the Future of Programming?
ConvLang is still new and experimental. It works best for simple apps, forms, and automation. But it shows what the future of coding might look like. Instead of learning to speak like a computer, the computer learns to understand you.
Would you try building something with ConvLang? If you are curious, I can help you start with a small project.
Top comments (1)
Really interesting idea!