Jaromil@fed.dyne.org to Programmer Humor@lemmy.ml · 2 months agoOff by one solitudefed.dyne.orgexternal-linkmessage-square145fedilinkarrow-up11.49Karrow-down120
arrow-up11.47Karrow-down1external-linkOff by one solitudefed.dyne.orgJaromil@fed.dyne.org to Programmer Humor@lemmy.ml · 2 months agomessage-square145fedilink
minus-squareaffiliate@lemmy.worldlinkfedilinkarrow-up4·2 months agoi wonder why people haven’t made a language that starts indexing at 2 yet. maybe some day
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up4·2 months agoMaybe this could be a feature in brainfuck or COBOL.
minus-squareVorthas@lemmy.mllinkfedilinkEnglisharrow-up2·2 months agoDreamberd starts array indexing at -1 instead of 0 or 1. https://github.com/TodePond/DreamBerd
i wonder why people haven’t made a language that starts indexing at 2 yet. maybe some day
Maybe this could be a feature in brainfuck or COBOL.
god i hope so
Dreamberd starts array indexing at -1 instead of 0 or 1.
https://github.com/TodePond/DreamBerd
what a beautiful language