If you're sure that people reading your code have that association with n, m, and k, then the same line of reasoning used for i, j, and k applies. But since it's impossible to control your audience - teams change over time, etc - I wouldn't be that confident. In my experience, when programmers use n it's to refer to "the number" within some lexical scope. That would be my default expectation, and I would expect the same of the average reader.
If you're sure that people reading your code have that association with
n
,m
, andk
, then the same line of reasoning used fori
,j
, andk
applies. But since it's impossible to control your audience - teams change over time, etc - I wouldn't be that confident. In my experience, when programmers usen
it's to refer to "the number" within some lexical scope. That would be my default expectation, and I would expect the same of the average reader.