Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×
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

Can anything be sadder than work left unfinished? Yes, work never begun.

Working...