No. You are not rude or abusive.
Different people speaking different languages is a problem. This is a fact of life. In order to answer questions, we must be able to understand them. Different languages get in the way.
If someone writes code that is difficult to understand because the variable names (or comments) are not in English then this is a problem:
- for us, because we can't give meaningful answers
- for the OP, because the OP won't get meaningful answers
- for future readers.
It can be particularly problematic when the code doesn't actually make sense and you need to understand what the OP is trying to do. This is often the case for "beginner" problems where the OP's code is nonsensical and their descriptions are incoherent. (Not in >>this<< example though, IMO!)
One approach is to suggest (politely!) that they translate their variable names, etc. However, the consensus is that such a suggestion does not belong in an Answer. I would be inclined to comment on the Question something like this:
"I am afraid that I don't understand what this code is trying to do. It may help us to understand your problem if you translated the variable names and comments into English."
Another approach is to (politely!) qualify your Answer; e.g.
"I am not sure I fully understand your code, but ..."
and then proceed to answer based on what you understood despite the variable names.
Another approach is to just vote-to-close as "unclear what you are asking" and move on. This assumes that variable translation is really necessary. As @Scratte comments, non-English variable names are not a prima facie reason to close a question. The vote-to-close privilege should be exercised responsibly.
The final approach is to just ignore the Question entirely.
Note that this is not a code style issue1. It is a communication issue. We are not suggesting that the OP change how they write code for their own purposes. We are only concerned about the code that they ask for our help on.
- We need to understand the code to answer the Question.
- Future readers often need to understand the code so that they can figure out if the Question matches their problem.
Which leads me to a final point. I think that we should only be suggesting that the OP translates variable names and comments if it is necessary to make the Question understandable to you. If you can work it out or if you could work it out if you put in a bit of effort don't suggest.
I don't speak Dutch, but I think I can work out what nearly all of the variable names mean from the code and the context. So in this case, I would not see the need to comment. But I only speak for myself.
1 - And commenting on style is not necessarily off-topic anyway. It depends on the programming language and whether it has strong / widely accepted style conventions.
c
is normally a character,n
is normally a max number,x
,y
, andz
are coordinates,w
is normally the homogeneous vert. comp.,u
andv
are texture coordinates, all of which are fairly standard and well understood. And re: it not belonging in an answer, I wholeheartedly disagree, it's a valid suggestion for improving the code, especially when sharing. It's not about their post, it's about their code