@mastermind to Programmer Humor@lemmy.ml • 11 months agowhy not a,b or x,y?imagemessage-square96arrow-up1675arrow-down143
arrow-up1632arrow-down1imagewhy not a,b or x,y?@mastermind to Programmer Humor@lemmy.ml • 11 months agomessage-square96
minus-squareTheWoozylinkfedilink15•11 months agoIn old FORTAN variable starting with I…N are integers. This is how the practice began.
minus-square@emptyother@lemmy.worldlinkfedilink2•11 months agoLearned that VERY recently from here, at NDC Oslo 2023, he mentioned it around 42:54. The whole talk is worth watching, its about the history of javascript all the way back to FORTRAN (the talk itself starts at 25:03).
minus-square@pazukaza@lemmy.mllinkfedilink1•11 months agoOh wow, I thought it was because “i” was a short way of writing “index”. Then “j” was just logical after that.
minus-squareTheWoozylinkfedilink1•10 months agoYou are still correct! The letters I & n are the first letters on Index.
In old FORTAN variable starting with I…N are integers. This is how the practice began.
Learned that VERY recently from here, at NDC Oslo 2023, he mentioned it around 42:54. The whole talk is worth watching, its about the history of javascript all the way back to FORTRAN (the talk itself starts at 25:03).
Oh wow, I thought it was because “i” was a short way of writing “index”. Then “j” was just logical after that.
You are still correct! The letters I & n are the first letters on Index.