this post was submitted on 12 Sep 2023
1105 points (97.8% liked)

Programmer Humor

32558 readers
601 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 74 points 1 year ago (3 children)

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

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

Something, something, just intonation something.

[–] Masimatutu@lemm.ee 4 points 1 year ago

Something something A♭ minor

[–] dcat@lemmy.world 4 points 1 year ago

this deserves many more upvotes haha

[–] cod@lemmy.world 1 points 1 year ago

I prefer Ax

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

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

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

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

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

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

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

[–] tamlyn@lemmy.zip 1 points 1 year ago

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

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

Last time I fingered A minor I went to prison

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

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

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

[–] blackn1ght@feddit.uk 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!

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

c matrix and c tesseract can be cool names

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

[–] CanadaPlus@lemmy.sdf.org 23 points 1 year ago (1 children)
[–] aracebo@unilem.org 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

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

[–] fred@lemmy.ml 13 points 1 year ago (1 children)

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

[–] aracebo@unilem.org 4 points 1 year ago

This is good to hear! Thanks for the clarification!

[–] 0ops@lemm.ee 17 points 1 year ago

Scripting in the unity game engine is done in c#

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 1 year ago
[–] lynx@sh.itjust.works 9 points 1 year ago (1 children)
[–] SomeAmateur@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

powerwolf intensifies

I love this template

[–] computergeek125@lemmy.world 3 points 1 year ago

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