Historically... C, Python and Fortran (← although I don't use this one) seems to be not that much newer than TeX, but they don't get that (unfortunate) convention?
(on the other hand most variables in that piece of code in particular are named correctly like `key` or `chain`)