this post was submitted on 09 Jul 2023
592 points (94.4% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] StudioLE@programming.dev 29 points 2 years 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

[โ€“] Gork@beehaw.org 1 points 2 years ago

At this point we might as well go full Roman as you suggested. MXMCIIV to MXMCCVII as indices.

load more comments (5 replies)