5

Recently, I came across this, which is a English question but the code is obviously not.

I've searched around and found the official policy on foreign languages and wondered if this applies?

To be fair, the code is legal (as in it compiles and runs) and there isn't exactly a rule mandating language of code, but I find incomprehensible identifiers very hard to read.

0

1 Answer 1

5

I don't think you need to have the code in English per se. However, you should be able to read the code and understand the issue at hand.

What if you would replace all variables with i, n, x or other often used iterator variable names? You can't really say that is 'English', but it isn't helpful either.

So English or not, as long as you can understand the question, there is no problem when the variables or methods used are not written in English.

Not the answer you're looking for? Browse other questions tagged .