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.
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.