News for hackers. Stuff that matters.
Re:Ask HN: How would a programming language look if designed... by jasonhong on Friday December 17, 2021 @09:39AM (#29592751)
You will be very interested in my colleague Brad Myers' work on Natural Programming. http://www.cs.cmu.edu/~NatProg/

In particular, one of his PhD students John Pane did a number of studies looking at how people would naturally describe the behaviors in Pac Man. It was really nice work.

You should also take a look at Programming by Demonstration. One book, Watch What I Do, is published online in its entirety by the editor Allen Cypher, see here http://acypher.com/wwid/.

Another book in this space, Your Wish is My Command, is also published online https://web.media.mit.edu/~lieber/Your-Wish/

Both of these are collections of research papers showing how people can demonstrate what they want to a computer, and have the computer figure out what they want. There's a more recent book on programming by demonstration, but I don't recall the title.

But definitely check out the first link on Natural Programming, Brad Myers is one of the world experts on this topic.

Re:Ask HN: How would a programming language look if designed... by invisiblerobot on Friday December 17, 2021 @02:13PM (#29596950)
Do you have a link for the pacman behaviours? Can't find it
Re:Ask HN: How would a programming language look if designed... by yesenadam on Friday December 17, 2021 @05:53PM (#29599338)
I found one:

https://www.academia.edu/download/51057466/Studying_the_lang...

It's the 2nd top result by citations on Pane's google scholar page

https://scholar.google.com/citations?user=cOeUEwEAAAAJ&hl=en

Thanks GP for the lead - I looked at a few of his papers studying how average people use and talk about program features, all very interesting stuff. Just started to check out the Natural Programming site - the rock-based acronyms alone are so awesome hehe.