Asking candidates to spot issues in a piece of work is a great hiring technique: it's open ended, shows expertise, and both interviewer and interviewee can learn things!
I have a bunch of open tasks on my GH repos, so I tried asking ChatGPT and Claude to write a card-based web UI that showed some random open issues.
ChatGPT gave me something that worked, but the Claude mock-ups look better (and render inline!).
I find myself using a "splatter then clean up" technique when working with code.
I add a ton of prints/logs/asserts/type annotations until I've found the issue. I then throw them all away!
It feels like redundant work, but I don't have a nicer solution.
An excellent review of the V language and the features it promotes: https://mawfig.github.io/2022/06/18/v-lang-in-2022.html
The code samples are a great example of how you do PL work: you learn about the intended semantics and try to write programs that are broken in interesting ways.