2 ms·
how do programs in, say, japanese look? do they use japanese symbols as variables etc?
by tokipin 18y ago
how do programs in, say, japanese look? do they use japanese symbols as variables etc?
- donw 18y agoLook at Ruby. The guy who came up with it is a researcher at Osaka university; English is definitely not his native language. Computers tend to use English for a number of reasons, some practical, but mostly historical. In this particular case, the practical reason involves the lack of a good, concise, 'if-then-else' structure in the Japanese language. Sure, the idea can be expressed, but it isn't really a common construct in everyday life.
- bdfh42 18y agogood point this - Is it perhaps not the QUERTY keyboard that is limiting language syntax design but the language itself. Most (but not all) languages have been designed "in English" - using typical English language words (for verbose languages like BASIC) and making use of the punctuation of English to punctuate syntax structure.