this post was submitted on 07 May 2024
623 points (97.6% liked)

Programmer Humor

19315 readers
88 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
you are viewing a single comment's thread
view the rest of the comments
[–] Cethin@lemmy.zip 9 points 4 months ago (1 children)

X, y, and z should only be used when working with things with dimensions larger than 1. Indexing into a 2D array, x and y are great uses. I'm also totally fine with i and j for indexer/iterator when appropriate, but I hate when people try to make short variable names for no good reason. We have auto-complete just about everywhere now. Make the names descriptive. There's literally no reason not to.

[–] Hazzia@discuss.tchncs.de 2 points 4 months ago (3 children)

We have auto-complete just about everywhere now

vim

[–] Bobbettes@lemm.ee 7 points 4 months ago* (last edited 4 months ago)

Vim can have autocomplete.

[–] PoolloverNathan@programming.dev 1 points 4 months ago

Press ^X^N, I dare you.

[–] sparkle@lemm.ee 0 points 4 months ago

Everywhere CIVILIZED*