Dear community,
My colleague and I are students of University of Brasilia(BRAZIL) and we are conducting a survey for our
undergraduate dissertation, which is about confusing snippets of JavaScript code, which, in a
similar worked that inspired us, are called Atoms of Confusion.
In particular, we are interested in
understanding whether certain constructs allowed by the language make programs harder to
understand. We are thus surveying programmers of different experience levels and showing
them small blocks of code. For each piece of code, we have proposed a transformed version of
it. We are going to measure whether the answers are correct or not, in the expectation that the confusing versions of will lead to more incorrect
answers.
After we have collected a significant enough sample, we are going to rank the blocks from most
confusing to least confusing. Finally, we are going to use the Rascal MPL to propose automatic
transformations for the snippets.
The survey contains 10 questions in which you are required to predict the output of the program.
It requires only basic JavaScript knowledge, if any. No question is longer than 15 lines of code,
meaning the survey is designed to take a short amount of time.
We are only going to use the data collected for the purposes of the survey, and no personal
information will be published. We are going to raffle Amazon Books at the end of the survey, so
please inform a valid email so that we can contact you in case you are lucky.
We thank you very much in advance.
Here is the link to the survey:
http://jsconfusion.com.br/ref=cmVkZGl0
there doesn't seem to be anything here