Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I use h and k as my loop vars when doing anything in which i and/or j might be taken.
Reason? HK-47.
If you got the reference without search engine help you have good taste in games. -
dileep199646yI am an electrical engineer, minored in mathematics and worked as a C programmer. Not sure which side I agree more
-
C0D4681386yI, j,k but then if I have to go any deeper I’ll reconstruct the input or find another way.
@RememberMe
Obvious statement: I know that game too. -
@C0D4 yeah, tops in my current project is a threefold nested for-loop, and that's a standard Shellsort implementation.
-
@Julien00859 for those like me who don’t know:
quaternion: a complex number of the form w + xi + yj + zk, where w, x, y, z are real numbers and i, j, k are imaginary units that satisfy certain conditions. -
@devios1 the square root of -1 of course. Lower case i is already used for time variable current.
Related Rants
Math: the imaginary unit is i.
Electrical engineering: no, it's j.
C hacker: hands off my loop variables!
random
j
loop
i