Hacker News new | ask | show | jobs
by gergi 1638 days ago
The code should explain what it does. In-line comments should provide explanation for any non-intuitive code that can’t be refactored to an intuitive state. The function comments should be about the intent of the code.