this post was submitted on 28 Sep 2024
1165 points (99.0% liked)

Programmer Humor

32542 readers
509 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
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