HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 month agoWhy make it complicated?lemmy.mlimagemessage-square106linkfedilinkarrow-up11arrow-down10file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 month agomessage-square106linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squaredan@upvote.aulinkfedilinkarrow-up0·edit-21 month agoOlder variants used DIM for arrays and LET for other variables. DIM was originally called that because it was setting the dimensions of the array. In modern BASIC variants, DIM has become a backronym: “declare in memory”.
minus-squaretisktisk@piefed.sociallinkfedilinkEnglisharrow-up0·1 month agoTIL Backronyms and cuil BASIC technicalities Much obliged all
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up0·1 month ago In modern BASIC variants, DIM has become a backronym: “declare in memory”. TIL. I always thought it was a backronym for declare in (yo) momma.
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up0·1 month agoEven older variants required both a let to declare the variable and a dim to set its size. I remember a REDIM command, but I really can’t remember what basic it’s from.
minus-squaredan@upvote.aulinkfedilinkarrow-up0·1 month agoThe first programming language I used was Visual Basic (both VBA in Excel, and VB3 then VB6). I think it used redim to resize arrays.
Older variants used DIM for arrays and LET for other variables. DIM was originally called that because it was setting the dimensions of the array.
In modern BASIC variants, DIM has become a backronym: “declare in memory”.
TIL Backronyms and cuil BASIC technicalities Much obliged all
TIL. I always thought it was a backronym for
declare in (yo) momma
.Even older variants required both a let to declare the variable and a dim to set its size.
I remember a
REDIM
command, but I really can’t remember what basic it’s from.The first programming language I used was Visual Basic (both VBA in Excel, and VB3 then VB6). I think it used redim to resize arrays.