News for hackers. Stuff that matters.
Re:Reading code is a skill (2020) by dagw on Tuesday September 21, 2021 @03:34AM (#28602831)
And if someone can explain well what a piece of code is doing, then of course that person can also write code.

I can read and understand many mathematical proofs and explain why it's true, but I could never have proven it myself. I can read and understand most of the great novels ever written, and even try to explain their greatness, but I could never have written any of them.

That being said, I agree that listening to someone explain and critique written code probably gives at least as good insight into their coding ability as having them whiteboard a leetcode problem.

Re:Reading code is a skill (2020) by blacktriangle on Tuesday September 21, 2021 @10:08AM (#28605142)
I feel like this is a bad analogy. Mathematical proofs often require some deeper insight that is being communicated. While this can be applicable to code, this is in the space of inverting a binary tree type questions.

Most code we're writing is more akin to seeing if you can read a newspaper.