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

Programmer Humor

35091 readers
117 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
[–] dcat@lemmy.world 75 points 2 years ago (3 children)

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

[–] Chais@sh.itjust.works 56 points 2 years ago (4 children)
[–] Zagorath@aussie.zone 16 points 2 years ago (1 children)

Something, something, just intonation something.

[–] Masimatutu@lemm.ee 4 points 2 years ago

Something something A♭ minor

[–] dcat@lemmy.world 4 points 2 years ago

this deserves many more upvotes haha

[–] cod@lemmy.world 1 points 2 years ago

I prefer Ax

[–] cordlesslamp@lemmy.today 10 points 2 years ago (2 children)

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

[–] rolaulten@startrek.website 5 points 2 years 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.

[–] jaybone@lemmy.world 0 points 2 years 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.

[–] zalgotext@sh.itjust.works 6 points 2 years 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.

[–] jaybone@lemmy.world 2 points 2 years 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.

[–] zalgotext@sh.itjust.works 2 points 2 years 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.

[–] tamlyn@lemmy.zip 1 points 2 years ago

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

[–] dylanTheDeveloper@lemmy.world 3 points 2 years ago* (last edited 2 years ago) (1 children)

Last time I fingered A minor I went to prison

[–] FederatedSaint@lemmy.world 2 points 2 years 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?

[–] theherk@lemmy.world 60 points 2 years ago (1 children)

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

[–] blackn1ght@feddit.uk 25 points 2 years ago

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

[–] malean@lemmy.world 31 points 2 years ago (1 children)

c matrix and c tesseract can be cool names

[–] jaybone@lemmy.world 2 points 2 years ago

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

[–] CanadaPlus@lemmy.sdf.org 23 points 2 years ago (1 children)
[–] aracebo@unilem.org 19 points 2 years ago (2 children)

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

[–] brakenium@lemm.ee 27 points 2 years 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

[–] fred@lemmy.ml 12 points 2 years ago (1 children)

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

[–] aracebo@unilem.org 4 points 2 years ago

This is good to hear! Thanks for the clarification!

[–] 0ops@lemm.ee 16 points 2 years ago

Scripting in the unity game engine is done in c#

[–] kryptonianCodeMonkey@lemmy.world 17 points 2 years 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.

[–] nothendev@sopuli.xyz 12 points 2 years ago
[–] igorlogius@lemmy.world 11 points 2 years ago (1 children)

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

[–] fubo@lemmy.world 17 points 2 years ago (1 children)

C[], the language of buffer overruns.

[–] raubarno@lemmy.ml 11 points 2 years ago (2 children)

C*, the language of null-dereferences

[–] recursive_recursion@programming.dev 29 points 2 years ago* (last edited 2 years ago) (1 children)
[–] onichama@feddit.de 2 points 2 years ago

Hippity Hoppity, your meme is now my property

[–] jaybone@lemmy.world 4 points 2 years ago

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

[–] lynx@sh.itjust.works 9 points 2 years ago (1 children)
[–] SomeAmateur@sh.itjust.works 2 points 2 years ago* (last edited 2 years ago)

powerwolf intensifies

[–] flambonkscious@sh.itjust.works 6 points 2 years ago

I love this template

[–] computergeek125@lemmy.world 3 points 2 years ago

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