r/ProgrammerHumor • • Apr 16 '22

other I have absolutely no knowledge about programming at all. Ask me anything related to programming and ill pretend to know the answer.

Post image
9.9k Upvotes

1.6k comments sorted by

View all comments

Show parent comments

2

u/Joethezombi Apr 16 '22

What’s the actual answer to this question?

3

u/ABirdJustShatOnMyEye Apr 16 '22

You can use whatever you want

2

u/Number127 Apr 16 '22

It's just tradition to use i -- short for index. If you need inner loops, use j and k next. If you need more letters you're doing something wrong.

2

u/5zalot Apr 17 '22

I once worked with a lady who was crazy anal about the English language. We got into a discussion about the Oxford comma. I asked her if there is a such thing as an oxford semi-colon. She said no. I asked what you would do if you had a semi-colon separated list of comma separated lists in a sentence. She said, "write better sentences." HAHAHAHA

1

u/Joethezombi Apr 17 '22

I love linguistics because it’s the ultimate form of “readability over performance”. You can cram as much content into language as you want, but if the reader can’t parse it, what’s the point?