this post was submitted on 19 Jun 2025
366 points (100.0% liked)

Programmer Humor

24924 readers
1191 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
366
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 

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
[–] [email protected] 8 points 3 weeks ago* (last edited 3 weeks ago) (5 children)

Doesn't Basic use Dim a As String?

[–] [email protected] 10 points 3 weeks ago* (last edited 3 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".

[–] [email protected] 2 points 3 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.

[–] [email protected] 2 points 3 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)