this post was submitted on 09 Jul 2023
629 points (94.0% liked)

Programmer Humor

32426 readers
545 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
[–] StudioLE@programming.dev 30 points 1 year ago (6 children)

A useful tip I picked up was to use ii instead of j for an inner loop. It's far more distinct than j.

If for some terrible reason you have even more inner loops you can easily continue the trend i, ii, iii, iiii, iiiii - or iv, v if you're feeling roman

[–] biscuit@lemdro.id 3 points 1 year ago (1 children)
[–] Gotoro@lemmy.world 1 points 1 year ago

Becomes unreadable if you're using the iter values a lot

load more comments (4 replies)