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

Programmer Humor

19572 readers
1170 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 29 points 1 month ago (1 children)

MATLAB: And I took that personally.

[–] [email protected] -4 points 1 month ago (2 children)

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

[–] [email protected] 11 points 1 month ago (1 children)

That's a very narrow view of programming.

[–] [email protected] 4 points 1 month 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.

[–] canihasaccount 11 points 1 month 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

[–] [email protected] 4 points 1 month 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?

[–] mumblerfish 24 points 1 month ago

Analysts using Julia and Mathematica are confused by this meme.

[–] [email protected] 7 points 1 month ago (3 children)

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

[–] einlander 12 points 1 month ago

Ahem:

OPTION BASE 0

Bam, Qbasic AND Visual Basic has 0 based arrays.

[–] dohpaz42 6 points 1 month ago

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

[–] [email protected] 3 points 1 month ago (1 children)

Who cares? VB is dead and long forgotten.

[–] [email protected] 19 points 1 month ago (1 children)

Oh, if only that were true.

[–] [email protected] 4 points 1 month ago (3 children)

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

[–] [email protected] 7 points 1 month ago

Languages don't die. They have long tails.

[–] [email protected] 6 points 1 month ago

Fucking finances and their macro-enabled excel spreadsheets!

[–] 2pt_perversion 6 points 1 month 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.

[–] [email protected] 4 points 1 month ago

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

[–] disguy_ovahea 3 points 1 month 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?

[–] [email protected] 41 points 1 month ago (1 children)

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

[–] disguy_ovahea 11 points 1 month ago

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