111

Math: the imaginary unit is i.
Electrical engineering: no, it's j.
C hacker: hands off my loop variables!

Comments
  • 5
    I use rdi
  • 2
  • 2
  • 3
  • 3
    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.
  • 3
    I am an electrical engineer, minored in mathematics and worked as a C programmer. Not sure which side I agree more
  • 1
    Very true. Thx for the share
  • 2
    I, 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.
  • 1
    @C0D4 yeah, tops in my current project is a threefold nested for-loop, and that's a standard Shellsort implementation.
  • 2
    @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.
  • 1
    Just curious what j is in electrical engineering?
  • 1
    @devios1 the square root of -1 of course. Lower case i is already used for time variable current.
  • 1
    @Fast-Nop Ah k, I never knew that.
Add Comment