this post was submitted on 19 Jun 2025
326 points (90.8% liked)

Programmer Humor

24790 readers
185 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Made with KolourPaint and screenshots from Kate (with the GitHub theme).

you are viewing a single comment's thread
view the rest of the comments
[–] HiddenLayer555@lemmy.ml 8 points 2 weeks ago* (last edited 2 weeks ago) (5 children)

Doesn't Basic use Dim a As String?

[–] dan@upvote.au 10 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

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".

[–] marcos@lemmy.world 2 points 2 weeks ago (1 children)

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.

[–] dan@upvote.au 2 points 2 weeks ago

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.

load more comments (2 replies)
load more comments (2 replies)