Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Generalizing programming language patterns in CodeBlocks
stahta01:
--- Quote from: beqroson on November 10, 2013, 04:29:39 pm ---Nobody seems to be backing me up on this idea yet. Is there no good reason to be able to program in your own language? There is a reason that we have many languages on our globe, right? It creates boundaries between different cultures. Should we not reflect that in the business of C++ as well, or am I the only one thinking like that? Maybe, just maybe... just maybe, it would be better if I just go and do harakiri on myself, then I dont need to bother. :P
--- End quote ---
The main problem is you NEVER really defined what you meant by language!
I can see the word Language to mean "Programming Language" (C,C++,D, Pascal) or "Native Language" (English, French, or Spanish).
Tim S.
Alpha:
--- Quote from: beqroson on November 10, 2013, 04:29:39 pm ---Nobody seems to be backing me up on this idea yet. Is there no good reason to be able to program in your own language?
--- End quote ---
I think it is that most of us reading this thread (or at least myself) do not understand what exactly your idea is trying to achieve. (Also, posting binary-only files as an idea for an open source project is... unusual.)
If by language you mean "native language", the general consensus here is that if one localizes one's source/build process to anything other than English, one will achieve nothing but a headache when trying to search documentation/error messages.
beqroson:
--- Quote from: stahta01 on November 10, 2013, 04:34:02 pm ---
--- Quote from: beqroson on November 09, 2013, 07:57:49 pm ---Instead of pseudo code, perhaps I can describe usage patterns that I personally would like to see.
Open a source code project downloaded from the net:
1. Open the project.
2. Select menu->languages->Italian, which immediately translates the source into the Italian language.
--- End quote ---
Sounds like a mixed C Processor and Poedit combined with Comment Translator.
--- Quote from: beqroson on November 09, 2013, 07:57:49 pm ---
Compile the source project:
1. Press menu->Build, the Italian code is "JIT"-translated into code known by the current compiler, such as GCC.
--- End quote ---
Sounds like a C Processor.
--- Quote from: beqroson on November 09, 2013, 07:57:49 pm ---Release a source header set:
1. Press menu->Export, the code is stripped off the Italian language and is left with only the compiler known language, such as C++.
--- End quote ---
Sounds like a Text Processor tool.
So far, I see no need for a CB Plugin; I suggest trying out the CB Contrib ToolPlus Plugin and see if that will do all that you need.
If nothing else it might be quicker during development.
Tim S.
--- End quote ---
Thanks a lot, stahta01, I may have prematurely removed the idea to use other tools for the task, thinking it would be better it it was integrated. Then again, maybe not. Perhaps several tools is better since there are several tasks involved.
beqroson:
--- Quote from: stahta01 on November 10, 2013, 04:35:12 pm ---
--- Quote from: beqroson on November 10, 2013, 04:29:39 pm ---Nobody seems to be backing me up on this idea yet. Is there no good reason to be able to program in your own language? There is a reason that we have many languages on our globe, right? It creates boundaries between different cultures. Should we not reflect that in the business of C++ as well, or am I the only one thinking like that? Maybe, just maybe... just maybe, it would be better if I just go and do harakiri on myself, then I dont need to bother. :P
--- End quote ---
The main problem is you NEVER really defined what you meant by language!
I can see the word Language to mean "Programming Language" (C,C++,D, Pascal) or "Native Language" (English, French, or Spanish).
Tim S.
--- End quote ---
Yes, my definition was that both the programming language and the native language can be one. Such as if I write wholly in English, ie "function DoSomething()" or in Italian, ie "funzione FareQualcosa()", then both the native and the programming sentences could be categorized as "Italian" language.
Now, in the world of programming, I was thinking that the translation can be only to exchange words one by one, straight.
beqroson:
--- Quote from: Alpha on November 10, 2013, 04:48:26 pm ---
--- Quote from: beqroson on November 10, 2013, 04:29:39 pm ---Nobody seems to be backing me up on this idea yet. Is there no good reason to be able to program in your own language?
--- End quote ---
I think it is that most of us reading this thread (or at least myself) do not understand what exactly your idea is trying to achieve. (Also, posting binary-only files as an idea for an open source project is... unusual.)
If by language you mean "native language", the general consensus here is that if one localizes one's source/build process to anything other than English, one will achieve nothing but a headache when trying to search documentation/error messages.
--- End quote ---
Yes, I agree to that, unless all the developers understand the same other language, which today may be more and more uncommon. That which I was trying to achieve was to connect the knowledge of programming with the bulk of knowledge that you possess in your native language. As such it would be more comfortable for the mind to program in your native language, especially when you strain the mind with more advanced thinking in algorithms and more. Using two languages for the process demands the mind to have two different language centers, which for the mind reduces the thinking process.
The headache that you are talking about is apparently both well known and real. I was figuring that if the source could be distributed as a common language, then that would be no problem.
I have not dealt with the language used in commentary though.
However, a scenario where we would only have one global language, such as English? I am very pessimistic about that. What I see is that a language tend to accumulate a certain set of traits. With only one language, then we would by that theory have only one set of traits at a global level. Such a reduction of the wealth of the human culture would be... simply unacceptable.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version