(That guy had an insane habit to put every method into a new class (!) and I mentioned to stop this stupid behavior to him multiple times - finally I decided to clean up his mess and merge 8-10 'method classes' into 2 clearly scoped class so next day he couldn't find his code and was very upset :) )
Stupid questions always comes from incompetent wannabe coders who never knows what they doing but very confident about everything.
In my early Fortran days (2014ish), I was looking for a bug in someone else's F77 code. I found code like this
call DAXPY(n, a, Y(1, j), 1, Z(1, k), 1)
and I thought I found the problem. How could we we pass a scalar with length but tell the method it had length n?
Except that's just how Fortran works. Code like that is everywhere. You pass by reference to the first value. That's the whole reason the length (and stride) is passed at all.
So yeah, I felt (and was) silly emailing about that. Fortunately I got better at it.
Matej Maric
There are no stupid questions. Only stupid answers. Hahah had tu pull that classic.