What happens if you do a survey on Mechanical Turk asking programmers what semantics they expect of their languages?
https://blog.brownplt.org/2017/07/06/crowd-pl-design.html has the answer! Direct link to PDF: https://cs.brown.edu/~sk/Publications/Papers/Published/tpk-crowdsource-lang-design/paper.pdf
Thread.
miniblog.
Related Posts
Apparently FizzBuzz is a spelling used by programmers, and it's "Fizz Buzz" in other contexts: https://en.wikipedia.org/wiki/Fizz_buzz
Perhaps programmers favour camel case more often?
Generated Code Generates Overconfident Coders: https://www.deeplearning.ai/the-batch/issue-180/
A study of programmers found that using a LLM for completion produced buggier code but users were more confident in it.
I wonder if this generalises to other completion techniques?
Shower thought: presumably keyword length affects naming habits? Are programmers more willing to write verboseFunctionName if the keyword is `fn` rather than `function`?
