4 ms·
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 proo
by dagw 5y ago
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.
- blacktriangle 5y agoI 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.