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

A recent questionrecent question was asking how to find the longest word in a string using JavaScript. The asker posted some code which had a few errors in the for loop used to attempt to solve the question.

That question was closed as a duplicate of another questionanother question where the asker was also looking for a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the for loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

A recent question was asking how to find the longest word in a string using JavaScript. The asker posted some code which had a few errors in the for loop used to attempt to solve the question.

That question was closed as a duplicate of another question where the asker was also looking for a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the for loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

A recent question was asking how to find the longest word in a string using JavaScript. The asker posted some code which had a few errors in the for loop used to attempt to solve the question.

That question was closed as a duplicate of another question where the asker was also looking for a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the for loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

typos
Source Link
Artjom B.
  • 61.8k
  • 3
  • 22
  • 42

A recent question was asking how to find the longest word in a string using JavascriptJavaScript. The asker posted some code which had a few errors in the for loop used to attempt to solve the question.

That question was closed as a duplicate of another question where the asker was also was looking for a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the for loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

A recent question was asking how to find the longest word in a string using Javascript. The asker posted some code which had a few errors in the for loop used to attempt to solve the question.

That question was closed as a duplicate of another question where the asker was also was looking a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the for loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

A recent question was asking how to find the longest word in a string using JavaScript. The asker posted some code which had a few errors in the for loop used to attempt to solve the question.

That question was closed as a duplicate of another question where the asker was also looking for a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the for loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

deleted 10 characters in body
Source Link
Marco Bonelli
  • 69k
  • 5
  • 40
  • 55

A recent questionrecent question was asking how to find the longest word in a string using JavaScriptJavascript. The asker posted some code which had a few errors in the forfor loop that they had used to attempt to solve the question.

That question was closed as a duplicate of another questionanother question where the asker was also was looking a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the forfor loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

A recent question was asking how to find the longest word in a string using JavaScript. The asker posted some code which had a few errors in the for loop that they had used to attempt to solve the question.

That question was closed as a duplicate of another question where the asker was also was looking a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the for loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

A recent question was asking how to find the longest word in a string using Javascript. The asker posted some code which had a few errors in the for loop used to attempt to solve the question.

That question was closed as a duplicate of another question where the asker was also was looking a method to find the longest word in a string, but the reason their code didn't work was because they incorrectly subtracted one from the limit in the for loop condition.

However, this question was reopened by a gold badge user, saying that because the issue with their code is different, that questions are not duplicates if the underlying problem behind them is different, even if they are asking for the same thing using similar code.

Should the question have been closed?

Source Link
Qantas 94 Heavy
  • 16k
  • 3
  • 31
  • 47
Loading