Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
Programming

Submission + - Multilingual programming languages - why or why not?

garyebickford writes: "I've thought about this a few times. With all multilingual work on web pages, maybe it is time to make programming languages multilingual. I think it would be relatively easy for the core language — just as in web pages, provide a set of translation files for each 'human' language, and at the top of the source file have a directive to use whichever human language is the default. Then editors could pick up that directive, and display the source code in that language or any other.

Handling source code libraries could be done in a similar manner, although it would be significantly more complicated. And comments — well those might be problematical. And it might be necessary for the programmers to include translation files for variable names. But using this method, someone programming in French and someone programming in English, for example, could both work on the same code base in the language they are most comfortable with, and the code would make sense to both."

Slashdot Top Deals

Research is what I'm doing when I don't know what I'm doing. -- Wernher von Braun

Working...