619
The easiest problem (discuss.tchncs.de)
you are viewing a single comment's thread
view the rest of the comments
[-] Cethin@lemmy.zip 9 points 1 month ago

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 1 month ago

We have auto-complete just about everywhere now

vim

[-] Bobbettes@lemm.ee 7 points 1 month ago* (last edited 1 month ago)

Vim can have autocomplete.

[-] PoolloverNathan@programming.dev 1 points 1 month ago

Press ^X^N, I dare you.

[-] sparkle@lemm.ee 0 points 1 month ago

Everywhere CIVILIZED*

this post was submitted on 07 May 2024
619 points (97.5% liked)

Programmer Humor

18250 readers
1663 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