Maybe the future of the programming is the human-language-level programming.
What are the opinions of the programmers about the future of the programming?

Code: Select all
global::generateDSPList();
tts::init();
QApplication a(argc, argv);
// ...
Code: Select all
Call the function generateDSPList in the global namespace with no parameters.
Call the function init in the tts namespace with no parameters.
Create a class a of type QApplication, calling the constructor that takes an integer and an array of character pointers and pass it argc and argv.
What does all that jargon-infested junk mean though? How would you summarise what it does for someone who doesn't know anything about programming? Why are you programming at such a low level instead of letting the intelligent compiler do that job for you?Ethin wrote:Natural language programming seems like overcomplicating easier non-natural language programming tasks. If I'm programming a GUI app, I find it much easier to write (for example):And would find it much, much harder (and ridiculous) to write:Code: Select all
global::generateDSPList(); tts::init(); QApplication a(argc, argv); // ...
Code: Select all
Call the function generateDSPList in the global namespace with no parameters. Call the function init in the tts namespace with no parameters. Create a class a of type QApplication, calling the constructor that takes an integer and an array of character pointers and pass it argc and argv.
The jargon is in evidence in the "plain English" version just as much as the C++ version. Functions? Namespaces? Global namespace? Parameters? Constructor? Array of character pointers?DavidCooper wrote:What does all that jargon-infested junk mean though?
Not at all. If you don't "know about programming", you won't be able to make heads or tails out of anything anyway. Because "knowing about programming" isn't about any specific language, it's about thinking a certain way, be that procedural, object-oriented, functional, generic, or something-else-entirely.How would you summarise what it does for someone who doesn't know anything about programming?
Because why are those namespaces taking no parameters? What constructor should the type QApplication call? Why should I, after doing that, create an array of character pointers and pass some argc and argv to that array?Why are you programming at such a low level instead of letting the intelligent compiler do that job for you?
Mm... that's not natural language, merely a term substitution for the C++ code. As an experiment, how about trying to make it more natural?Ethin wrote:...Code: Select all
global::generateDSPList(); tts::init(); QApplication a(argc, argv); // ...
Code: Select all
Call the function generateDSPList in the global namespace with no parameters. Call the function init in the tts namespace with no parameters. Create a class a of type QApplication, calling the constructor that takes an integer and an array of character pointers and pass it argc and argv.
Code: Select all
Generate a DSP list for everyone in the program to see.
Initialize TTS.
Make a copy of QApplication. The builder will want the program arguments, so give them to it.