this post was submitted on 26 Nov 2023
710 points (89.3% liked)

Programmer Humor

19703 readers
189 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (5 children)

Code looks better without comments

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

I would disagree. I love to use comments to format my code and separate the sections. I think it's so beautiful. Also I love when libraries have ASCII art in the comments at the top of the main file lol. It makes the code more fun in my opinion.

I went to college with a guy who would treat the code as art when presenting projects. His code was always beautiful. Not super functional but always beautiful. It always stuck with me. I want my code to always be functional and beautiful. Easy to read and a pleasure to work with. That's my goal at least. Comments help with that.

Also it depends on what the code is for haha

load more comments (4 replies)
[–] [email protected] 4 points 1 year ago (6 children)

I wonder if chat GPT can add comments

[–] [email protected] 3 points 1 year ago

Try github copilot I've canceled my chatgpt for it.

Now I start scripting by doing all my comments. Essentially make a outline like I'm writing a paper.

Copilot suggests the code that matches my comments.

I script legit 3x~4x faster now with full comments. It's amazing.

load more comments (5 replies)
load more comments
view more: ‹ prev next ›