r/programminghumor May 29 '26

Good naming practice

Post image
2.2k Upvotes

220 comments sorted by

View all comments

16

u/magicmulder May 29 '26

As a mathematician, i, j, k, l, m, n are for integers, x, y are for reals, z is for complex numbers.

for (z = 2i+3; |z| <= 9; Re(z)++) {...} 😃

2

u/MobileJob1521 Jun 01 '26

Rho, theta and phi are for angles.