Olaf Schlüter
Feb 17, 2024

Although I go with the clean code concept of favour self-explaining code over comments, as code is never wrong about what it does, comments most often are, sometimes an implemented algorithm deserves an explanation, as the chosen solution is not self-evident even with all names expressing as much as they can. This is especially true if you as the creator had a hard time working out the algorithm to be efficient, fast, memory-saving or whatever code feature you were after while optimising the hell out of it - you do not want the next colleague to throw away your fine-crafted code just due to a lack of understanding.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Olaf Schlüter
Olaf Schlüter

Written by Olaf Schlüter

IT security specialist, Physicist by education, believing in God as for the exceptional harmony of the laws of nature to create and support life.

No responses yet

Write a response