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

Programmer Humor

19331 readers
19 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
[–] [email protected] 4 points 2 weeks ago

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

[–] [email protected] 24 points 3 weeks ago

Analysts using Julia and Mathematica are confused by this meme.

[–] [email protected] 3 points 3 weeks 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 3 weeks ago (1 children)

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

[–] [email protected] 11 points 3 weeks ago

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

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

MATLAB: And I took that personally.

[–] [email protected] -4 points 3 weeks 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 3 weeks ago (1 children)

That's a very narrow view of programming.

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

[–] [email protected] 11 points 3 weeks 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 3 weeks 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?

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

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

[–] [email protected] 12 points 3 weeks ago

Ahem:

OPTION BASE 0

Bam, Qbasic AND Visual Basic has 0 based arrays.

[–] [email protected] 6 points 3 weeks ago

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

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

Who cares? VB is dead and long forgotten.

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

Oh, if only that were true.

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

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

[–] [email protected] 7 points 3 weeks ago

Languages don't die. They have long tails.

[–] [email protected] 6 points 3 weeks ago

Fucking finances and their macro-enabled excel spreadsheets!

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