DEV Community

Discussion on: Lazy names are lazy

Collapse
 
andy profile image
Andy Zhao (he/him)

When running each loops, I always assign the each variable as x, y, or z.

products.each do |x|
  x.orders.each do |y|
    y.destroy!
  end
end

Also, a lot of things are called asdf or some variation of that.

Collapse
 
andreanidouglas profile image
Douglas R Andreani

I’m running on the “i”, “j” religion. But I can totally understand that

Collapse
 
monknomo profile image
Gunnar Gissel

Gotta respect that unit vector

Collapse
 
slaffik profile image
Slava Abakumov

i, j, k FTW!