this post was submitted on 26 Sep 2024
544 points (97.7% liked)

Programmer Humor

31202 readers
1096 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
 
top 20 comments
sorted by: hot top controversial new old
[–] ThePyroPython@lemmy.world 29 points 2 years ago (1 children)

MATLAB: And I took that personally.

[–] AnarchoSnowPlow@midwest.social -5 points 2 years ago (2 children)

Oh it shouldn't, seeing as how it's a scripting language and not actually for programming lol

[–] canihasaccount@lemmy.world 11 points 2 years ago (1 children)

It doesn't have to be

https://www.mathworks.com/products/compiler.html

MATLAB can ruin all sorts of coding experiences, programming included

[–] AnarchoSnowPlow@midwest.social 4 points 2 years ago

I startled my dogs laughing at that last bit.

Last time I dealt with Matlab much was like fifteen years ago when I was helping some people using it for quick interpretation of data. We just kept finding bugs that caused calculation errors (which they fixed pretty quickly TBF) and it was so much slower than any other general programming language we tried. It could be way better now, I wouldn't know, I haven't had call to use it since... A circuit simulation class?

[–] frezik@midwest.social 10 points 2 years ago (1 children)

That's a very narrow view of programming.

[–] AnarchoSnowPlow@midwest.social 4 points 2 years ago

In all reality it's fine for what it does, just like every other language. It's another tool in the box that's most useful for a certain set of problems.

Matlab shouldn't, in my opinion, be used to construct a GUI, or generally be used for any sort of production code. Perfectly fine as a research tool though.

But I digress, my overall point is a meaningless semantic joke. The only people who will get bent out of shape about splitting hairs between "scripting" and "programming" are all people who belong in this community.

[–] mumblerfish@lemmy.world 24 points 2 years ago

Analysts using Julia and Mathematica are confused by this meme.

[–] psvrh@lemmy.ca 6 points 2 years ago (3 children)

But what about that one guy who writes absolutely brilliant VB?

[–] einlander@lemmy.world 12 points 2 years ago

Ahem:

OPTION BASE 0

Bam, Qbasic AND Visual Basic has 0 based arrays.

[–] dohpaz42@lemmy.world 6 points 2 years ago

Depends on the version of VB. It seems VB .NET uses zero-based indexed arrays.

[–] AsudoxDev@programming.dev 2 points 2 years ago (1 children)

Who cares? VB is dead and long forgotten.

[–] psvrh@lemmy.ca 19 points 2 years ago (1 children)

Oh, if only that were true.

[–] AsudoxDev@programming.dev 4 points 2 years ago (3 children)

What? People still use VB? dear god...

[–] frezik@midwest.social 7 points 2 years ago

Languages don't die. They have long tails.

[–] magikmw@lemm.ee 6 points 2 years ago

Fucking finances and their macro-enabled excel spreadsheets!

[–] 2pt_perversion@lemmy.world 6 points 2 years ago

They definitely do, especially legacy stuff that's still kicking. Sweet, sweet tech debt that you hope won't be a real problem until you've moved to a different company.

[–] RoquetteQueen@sh.itjust.works 4 points 2 years ago

As we used to say when I was a little kid: "Zero the hero, first the worst."

[–] disguy_ovahea@lemmy.world 3 points 2 years ago (1 children)

Isn’t zero the same in base-2 as it is in base-10? Wouldn’t first place be 1, second place be 10, and third place 11?

[–] sneezycat@sopuli.xyz 43 points 2 years ago (1 children)

This is about indexes starting at 0, not about binary.

[–] disguy_ovahea@lemmy.world 11 points 2 years ago

Gotcha. I guess that’s the difference between programmer humor and computer architect humor.