this post was submitted on 12 Sep 2023
1106 points (97.7% liked)

Programmer Humor

32472 readers
465 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 42 comments
sorted by: hot top controversial new old
[–] [email protected] 76 points 1 year ago (3 children)

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

[–] [email protected] 58 points 1 year ago (4 children)
[–] [email protected] 16 points 1 year ago (1 children)

Something, something, just intonation something.

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

Something something A♭ minor

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

this deserves many more upvotes haha

[–] [email protected] 1 points 1 year ago

I prefer Ax

[–] [email protected] 10 points 1 year ago (2 children)

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

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

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] 1 points 1 year ago

B sharp is H right (please don't hate me) 😵‍💫

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

Last time I fingered A minor I went to prison

[–] [email protected] 2 points 1 year 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] 61 points 1 year ago (1 children)

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

[–] [email protected] 26 points 1 year 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] 31 points 1 year ago (1 children)

c matrix and c tesseract can be cool names

[–] [email protected] 2 points 1 year 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] 23 points 1 year ago (1 children)
[–] [email protected] 19 points 1 year 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 1 year 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 1 year ago (1 children)

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

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

This is good to hear! Thanks for the clarification!

[–] [email protected] 17 points 1 year ago

Scripting in the unity game engine is done in c#

[–] [email protected] 17 points 1 year 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] 12 points 1 year ago
[–] [email protected] 11 points 1 year ago (1 children)

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

[–] [email protected] 17 points 1 year ago (1 children)

C[], the language of buffer overruns.

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

C*, the language of null-dereferences

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

Hippity Hoppity, your meme is now my property

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

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

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

powerwolf intensifies

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

I love this template

[–] [email protected] 3 points 1 year ago

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