Domanda di colloquio di Optiver

How would you define "clean code"?

Risposta di colloquio

Anonimo

29 mag 2017

Const correctness, good and up-to-date documentation, well-designed interfaces, not using variables for multiple purposes, comments that reveal the "why" since the "how" is right in the code