this post was submitted on 05 Sep 2023
829 points (98.5% liked)

Programmer Humor

19551 readers
1059 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ChickenLadyLovesLife@lemmy.world 7 points 1 year ago (1 children)

I first started programming with TurboBasic which had the oh-so-amusing characteristic that you could have variable names of any length but the compiler only used the first two letters (and case-insensitive at that). So "DonutCount" and "DoobieCounter" actually referred to the same variable.

Really good times trying to debug that kind of shit.

[–] PoolloverNathan@programming.dev 5 points 1 year ago (1 children)

I'm trying to write an intentionally bad programming language. Don't give me ideas.

[–] ChickenLadyLovesLife@lemmy.world 2 points 1 year ago (1 children)

Make sure you add a "Variant" type lol.

[–] PoolloverNathan@programming.dev 1 points 1 year ago (1 children)
[–] ChickenLadyLovesLife@lemmy.world 1 points 1 year ago (1 children)

Oh you sweet summer child. The Variant type in VB was so much worse than just a String.

[–] PoolloverNathan@programming.dev 1 points 1 year ago (1 children)

I'm just complaining since I have the fortune of using a language where everything is represented as a string.

What is 3 + 5?

[–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (1 children)

A lot of people would say 8, I'm glad I didn't have to correct you.