1178
Comenting code (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] Overshoot2648@lemm.ee 5 points 1 week ago* (last edited 1 week 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
1178 points (99.2% liked)

Programmer Humor

32197 readers
673 users here now

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

Rules:

founded 5 years ago
MODERATORS