Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

Your questionYour question was closed as a duplicate of an earlier questionan earlier question because it is a duplicate: it has all the same relevant aspects, and differs only in details that do not affect the problem.

Your question is about the order of operations when assigning to a variable in one argument to a function call and accessing that variable in another argument. This is also what the earlier question is about.

You're not necessarily expected to know which aspects are relevant and which are not. That's part of why voting to close and voting up or down are independent: if you'd posted a question which was exactly identical to an earlier question except for the variable names, that would be grounds to downvote for lack of research; but you posted a question which is worded differently, and it's clear that you'd have trouble finding the earlier thread on your own because you don't know all the terminology involved, so that rather deserves an upvote. These considerations are independent of judging whether the question is a duplicate. Any satisfactory answer to the earlier question would also satisfactory answer yours, hence it is a duplicate.

Closing a question doesn't say “you're a bad person”. (Downvotes do, to some extent.) It says that your question is not suitable here (for close reasons other than duplicate), or that your question already has answers (for closing as duplicate — which is now called “marked as duplicate”, emphasizing that it doesn't mean that the subject is closed, but rather that it should be dealt with elsewhere, even though technically this has the same effect of preventing answers from being posted on that question).

I haven't looked at your other questions.

Your question was closed as a duplicate of an earlier question because it is a duplicate: it has all the same relevant aspects, and differs only in details that do not affect the problem.

Your question is about the order of operations when assigning to a variable in one argument to a function call and accessing that variable in another argument. This is also what the earlier question is about.

You're not necessarily expected to know which aspects are relevant and which are not. That's part of why voting to close and voting up or down are independent: if you'd posted a question which was exactly identical to an earlier question except for the variable names, that would be grounds to downvote for lack of research; but you posted a question which is worded differently, and it's clear that you'd have trouble finding the earlier thread on your own because you don't know all the terminology involved, so that rather deserves an upvote. These considerations are independent of judging whether the question is a duplicate. Any satisfactory answer to the earlier question would also satisfactory answer yours, hence it is a duplicate.

Closing a question doesn't say “you're a bad person”. (Downvotes do, to some extent.) It says that your question is not suitable here (for close reasons other than duplicate), or that your question already has answers (for closing as duplicate — which is now called “marked as duplicate”, emphasizing that it doesn't mean that the subject is closed, but rather that it should be dealt with elsewhere, even though technically this has the same effect of preventing answers from being posted on that question).

I haven't looked at your other questions.

Your question was closed as a duplicate of an earlier question because it is a duplicate: it has all the same relevant aspects, and differs only in details that do not affect the problem.

Your question is about the order of operations when assigning to a variable in one argument to a function call and accessing that variable in another argument. This is also what the earlier question is about.

You're not necessarily expected to know which aspects are relevant and which are not. That's part of why voting to close and voting up or down are independent: if you'd posted a question which was exactly identical to an earlier question except for the variable names, that would be grounds to downvote for lack of research; but you posted a question which is worded differently, and it's clear that you'd have trouble finding the earlier thread on your own because you don't know all the terminology involved, so that rather deserves an upvote. These considerations are independent of judging whether the question is a duplicate. Any satisfactory answer to the earlier question would also satisfactory answer yours, hence it is a duplicate.

Closing a question doesn't say “you're a bad person”. (Downvotes do, to some extent.) It says that your question is not suitable here (for close reasons other than duplicate), or that your question already has answers (for closing as duplicate — which is now called “marked as duplicate”, emphasizing that it doesn't mean that the subject is closed, but rather that it should be dealt with elsewhere, even though technically this has the same effect of preventing answers from being posted on that question).

I haven't looked at your other questions.

Source Link

Your question was closed as a duplicate of an earlier question because it is a duplicate: it has all the same relevant aspects, and differs only in details that do not affect the problem.

Your question is about the order of operations when assigning to a variable in one argument to a function call and accessing that variable in another argument. This is also what the earlier question is about.

You're not necessarily expected to know which aspects are relevant and which are not. That's part of why voting to close and voting up or down are independent: if you'd posted a question which was exactly identical to an earlier question except for the variable names, that would be grounds to downvote for lack of research; but you posted a question which is worded differently, and it's clear that you'd have trouble finding the earlier thread on your own because you don't know all the terminology involved, so that rather deserves an upvote. These considerations are independent of judging whether the question is a duplicate. Any satisfactory answer to the earlier question would also satisfactory answer yours, hence it is a duplicate.

Closing a question doesn't say “you're a bad person”. (Downvotes do, to some extent.) It says that your question is not suitable here (for close reasons other than duplicate), or that your question already has answers (for closing as duplicate — which is now called “marked as duplicate”, emphasizing that it doesn't mean that the subject is closed, but rather that it should be dealt with elsewhere, even though technically this has the same effect of preventing answers from being posted on that question).

I haven't looked at your other questions.