Gollum@feddit.org to Programmer Humor@programming.dev · 2 days agoAnother smart movefeddit.orgexternal-linkmessage-square112fedilinkarrow-up1963arrow-down131
arrow-up1932arrow-down1external-linkAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 2 days agomessage-square112fedilink
minus-squareHawk@lemmynsfw.comlinkfedilinkarrow-up2·10 hours agoA lot of mathematical languages start from 1: R, Julia, Mathematica (and also Lua and Fish). I don’t know why, but in, e.g. R, it doesn’t bother me, I get caught by it in Lua all the time. I suppose it’s a function of how far the array is abstracted from being pointers to an address that makes it easier to mentally switch.
A lot of mathematical languages start from 1: R, Julia, Mathematica (and also Lua and Fish).
I don’t know why, but in, e.g. R, it doesn’t bother me, I get caught by it in Lua all the time.
I suppose it’s a function of how far the array is abstracted from being pointers to an address that makes it easier to mentally switch.