this post was submitted on 12 Sep 2023
1058 points (98.1% liked)

Programmer Humor

31214 readers
123 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
all 40 comments
sorted by: hot top controversial new old
[–] [email protected] 71 points 9 months ago (3 children)

we have C#, where the hell is C♭?

[–] [email protected] 53 points 9 months ago (4 children)
[–] [email protected] 15 points 9 months ago (1 children)

Something, something, just intonation something.

[–] [email protected] 3 points 9 months ago

Something something A♭ minor

[–] [email protected] 4 points 9 months ago

this deserves many more upvotes haha

[–] [email protected] 1 points 9 months ago

I prefer Ax

[–] [email protected] 10 points 9 months ago (2 children)

Does it pronounce "C flat"? I'm not fluent in musical tongue.

[–] [email protected] 5 points 9 months ago (1 children)

Yep c flat or b sharp. If the octave has a half step between notes (a full step is A to B, B to C, etc), then a sharp/flat is created. The octave dictates if we call it a sharp or flat, but from a mathematical perspective they are the same tone.

[–] [email protected] 0 points 9 months ago (1 children)

Lol but there is no c flat or b sharp. There’s no half step between them. Just like E and F.

That’s why those black keys on the piano have gaps between them.

[–] [email protected] 6 points 9 months ago (1 children)

Well, there is a C flat, it's just also called B. And vice versa for B sharp, that's just C. There is a half step between B and C, it's B to C. All the sharp or flat symbols do is signify you should play the half step up or down, respectively, from the decorated note.

The same is true between E and F. There's a bunch of complicated reasons that the black keys have gaps between them, ranging from the physics of sound, to Western music theory principles, to ergonomics. I'm by no means an expert on any of this, I just think it's interesting, and a fun topic to look stuff up about.

[–] [email protected] 2 points 9 months ago (1 children)

Right I’m not disagreeing with any of that.

But the person I’m replying to said there is a full step from B to C.

[–] [email protected] 2 points 9 months ago

Oh, I guess I was confused by your wording then. You said there's no C flat or B sharp, but there definitely are both of those things. You also said there's no half step between them, but B to C is a half step. I guess you meant there's no note between B and C that represents a half step up from B or a half step down from C, but it wasn't clear to me.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago) (1 children)

Last time I fingered A minor I went to prison

[–] [email protected] 2 points 9 months ago

I've done that too, but I didn't go to prison because I was a minor at the time too lol.

But that raises a good question...does an adult remembering their teenage sexual escapades fondly make them a pedophile?

[–] [email protected] 59 points 9 months ago (1 children)

I thought it was neat when I saw that C# was just C++… ++.

[–] [email protected] 26 points 9 months ago

This is the first time I've seen it like this, and I've been using C# nearly daily for over 10 years!

[–] [email protected] 29 points 9 months ago (1 children)

c matrix and c tesseract can be cool names

[–] [email protected] 2 points 9 months ago

I feel like we missed C Squared and C Cube, which would have been a cool name. (And probably also would have sucked.)

[–] [email protected] 20 points 9 months ago (1 children)
[–] [email protected] 12 points 9 months ago (1 children)
[–] [email protected] 1 points 9 months ago

That would be the next one

[–] [email protected] 18 points 9 months ago (2 children)

Does C# get used outside of Microsoft.Net stuff? I never liked the idea of being locked into something proprietary

[–] [email protected] 28 points 9 months ago (1 children)

You can definitely write C# code based on all open source things. Microsoft open sourced C# and it is used on Linux too

[–] [email protected] 13 points 9 months ago (1 children)

Yep. Cross platform Unity game engine also. No fences keeping C# in Microsoft land these days

[–] [email protected] 4 points 9 months ago

This is good to hear! Thanks for the clarification!

[–] [email protected] 17 points 9 months ago

Scripting in the unity game engine is done in c#

[–] [email protected] 17 points 9 months ago

You pleabs are still on C(++)^4? Real men code in C(++)^11. Some of those dimensions are so small they don't have deterministic outcomes. You write a "Hello, World!" program and you accidentally hack Taco Bell's payroll department. Shit's crazy.

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

Make me wonder where the evolution of -- brings us, when we get a hypercube with ++

[–] [email protected] 16 points 9 months ago (1 children)

C[], the language of buffer overruns.

[–] [email protected] 10 points 9 months ago (2 children)

C*, the language of null-dereferences

[–] [email protected] 29 points 9 months ago* (last edited 9 months ago) (1 children)
[–] [email protected] 2 points 9 months ago

Hippity Hoppity, your meme is now my property

[–] [email protected] 4 points 9 months ago

&C the language of returning pointers to popped stack frames.

[–] [email protected] 11 points 9 months ago
[–] [email protected] 8 points 9 months ago (1 children)
[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

powerwolf intensifies

[–] [email protected] 6 points 9 months ago

I love this template

[–] [email protected] 3 points 9 months ago

C Hypercube..... C Hyper.... Hyper C..... wait is this where HolyC fits in? (/s)