this post was submitted on 09 Jun 2024
230 points (79.8% liked)

> Greentext

7446 readers
139 users here now

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Varyk@sh.itjust.works 10 points 3 months ago (14 children)

Do you know why sharp is added to the end of programming languages? Like c sharp and f sharp?

Actually, I don't even know if it is pronounced c sharp or f sharp. I just assumed it was the same as music.

[–] dank953@lemmy.world 6 points 3 months ago (10 children)

a sharp symbol is ++ stacked on top of ++ So C ++ ++ becomes C#

Phonetically, It is C sharp because it sounds cooler than C hash or C pound.

[–] Varyk@sh.itjust.works 3 points 3 months ago (5 children)

Rad. Thanks! What do the pluses denote in a programming language? What's the difference between c+, c++ and c sharp?

[–] orivar@lemmy.dbzer0.com 8 points 3 months ago (1 children)

There is no c+. The reason is that ++ means "increment by 1" in c itself (and many other languages).

[–] Varyk@sh.itjust.works 3 points 3 months ago
load more comments (3 replies)
load more comments (7 replies)
load more comments (10 replies)