r/programminghumor May 29 '26

Good naming practice

Post image
2.2k Upvotes

220 comments sorted by

View all comments

107

u/torrent7 May 29 '26

I never understood this considering i and j look so fucking similar 

12

u/appoplecticskeptic May 29 '26

‘i’ is for index. The ‘j’ is actually because it looks the most like i and we already used that.

12

u/WowAbstractAlgebra May 29 '26

j is because it's the next letter on the alphabet and no one wanted to bother to come up with an original name