this post was submitted on 08 Jul 2023
19 points (100.0% liked)

Programmer Humor

32464 readers
139 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 4 comments
sorted by: hot top controversial new old
[–] dreadedsemi@lemmy.world 1 points 1 year ago

Client: it doesn't work

Dev: did you open from the other side?

Client: now when I eat it, it tastes like box.

[–] bleistift2@feddit.de 1 points 1 year ago

Hot take: Even these ‘useless’ comments help, since they relieve you of the burden of reading the code itself, even if it’s trivial. One line of English is easier to parse than one line of trivial code.

[–] apigban@lemmy.dbzer0.com 0 points 1 year ago (1 children)

Hello! I'm a hobbyist in this space (scripting/coding), does anyone here have a:

  • gold standard of what commit messages should look like?
  • common practice/etiquette for commit message?

I never had a team or guide or mentor and when I saw this i felt that my commits are like smoke signals describing that there's a fire. which isnt really helpful.

I tried to contribute to a python module that I use daily, my PR was so over engineered (iirc i added just 3 lines, but with tests, screenshots, CI/CD) i think to compensate for my lack of experience that I got called out ("wow this is pretty extreme just for that feature").

[–] bleistift2@feddit.de 1 points 1 year ago

We’re lucky in that the inventors of our technology are still alive (for the most part). So we can ask them: Linus Torvalds on git commit messages