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

Programmer Humor

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

MATLAB: And I took that personally.

[–] AnarchoSnowPlow@midwest.social -4 points 3 days ago (2 children)

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

[–] frezik@midwest.social 11 points 3 days ago (1 children)

That's a very narrow view of programming.

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.

[–] canihasaccount@lemmy.world 11 points 3 days 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

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?

[–] mumblerfish@lemmy.world 24 points 3 days ago

Analysts using Julia and Mathematica are confused by this meme.

[–] psvrh@lemmy.ca 7 points 3 days ago (3 children)

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

[–] einlander@lemmy.world 12 points 3 days ago

Ahem:

OPTION BASE 0

Bam, Qbasic AND Visual Basic has 0 based arrays.

[–] dohpaz42@lemmy.world 6 points 3 days ago

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

[–] AsudoxDev@programming.dev 3 points 3 days ago (1 children)

Who cares? VB is dead and long forgotten.

[–] psvrh@lemmy.ca 19 points 3 days ago (1 children)

Oh, if only that were true.

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

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

[–] frezik@midwest.social 7 points 3 days ago

Languages don't die. They have long tails.

[–] magikmw@lemm.ee 6 points 3 days ago

Fucking finances and their macro-enabled excel spreadsheets!

[–] 2pt_perversion@lemmy.world 6 points 3 days 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.

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

[–] disguy_ovahea@lemmy.world 3 points 3 days 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 41 points 3 days ago (1 children)

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

[–] disguy_ovahea@lemmy.world 11 points 3 days ago

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