1174
Comenting code (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] Overshoot2648@lemm.ee 5 points 1 month ago* (last edited 1 month ago)

I'll add that you should have a comment anytime you are using some sort of algorithm to explain what it is and the expected result when it's not intuitive or a complex math operation that isn't immediately clear. Ex// I'm using Newton's Method to approximate a solution to speed up the inverse square root

this post was submitted on 28 Sep 2024
1174 points (98.9% liked)

Programmer Humor

32483 readers
560 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS