I would think that those questions are off-topic for EL&U simply because the answer can be given just from a programmer point of view, and users on EL&U are not supposed to be all programmers (even if it so happens that the majority of them are programmers at some level).
To make clear what I mean, I will make two examples.
What name should I use for my function, instead of
Supposing the programming language has such operator, a programmer could simply reply with You just need an
IsArray() function; if you need to check if a variable is not an array, then you use
!IsArray(). Anyone who doesn't know anything about programming languages would not answer in that way, but that would be probably be the best answer that such question could get.
In my PHP script I added a function; should I call it
Anyone who is not a programmer would probably say that it makes no difference, or would choose one and give reasons; anyone who knows PHP will say that
str_shuffle() is a predefined function in PHP, so there would be problems when using a user function called
The second example makes evident that the answer for such questions depends from the programming context; even if that question would be asked on Stack Overflow, anyone who answers would need to know for which programming language the question is being asked. On EL&U, that would be an irrelevant detail (a linguist, for example, is not supposed to know anything about programming), and reporting that the question is about a Java method, or a PHP function would not help to give the correct answer, as whoever answers is supposed to answer based on English usage of a word, or a group of words.
Also, a compiler doesn't require function/method/class names to follow English grammar or usage; a compiler is happy even if the function is called
What those questions are really asking is Which function name would help other developers to remember the purpose of a function? To that question, only a developer is able to give a correct answer.