Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the same reason we still use i,j,k for loops, x and y for continuous variables, and n,m for integers. We all know what they mean and needless verbosity can makes things less readable. It’s why people really seem to like the throwaway variable ‘_’.

   for outer_index over array1
      for inner_index over array1[outer_index]
        print array1[outer_index][inner_index]
Bleh.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: