By - IsThereCoffeeOnMars
A man of culture, I see.
Best i can do is dxc8=Q#
C Mate is shorter
But not nearly as powerful as a group of C Men
u/MuntedBean presents, "Fun With Flags"
You've got a loicense for that C mate?
C pound sign
C tic tac toe board
Yeah but the # cant be called pound anymore since #metoo.
can too, the pound me too people chose their name poorly, and need to be reminded of that.
I can get behind this conga line.
pound me too?
~~that's the joke, yes~~
But it's C# not C£!
That's the version going around in the UK /s
What do you mean /s? Don't you guys call it C£ too?
That's one I actually like
U mean Tris
True story, for the longest time I thought it was just a clever way to write C++, since the hash is just two overlayed crosses.
Hashtag is also 4 crossed lines. So c# is c----
could also be C++++
But few would actually say plus 4 times all the time.
They would probably end up shortening it to C4+ for even more confusion.
I'd shorten it to C4, this blows up in conversation.
Just call it C4. It'll be a blast. You'll C 4 yourself!
Okay, I'm out. Now I shall leave... ^(before it blows out of proportion.)
No, I'm really gone now... ^(Gone with the blastwave.... fuck...)
C PLUS PLUS PLUS PLUS, sounds good for me
This is actually why it's called C# as far as I'm aware.
It's a "hash", not a "hashtag"! I'll even accept the antiquated "pound", but it is *definitely* not a hashtag.
(And, in this case, it's actually a sharp notation)
*pushing up glasses* Actually, the proper name is "octothorp"
Sir, I concede. You have bested me
_pushing up fancier glasses_ **Actually** the proper spelling is "octothorpe" ^/s ^/j
I think these guys are trying to summon an octopus.
Hash = The # symbol
Hashtag = A tag beginning with #
Also, let's clarify one level deeper--the sharp sign is a canted hash sign.
♯ = Sharp
\# = Hash/Pound
Source: Former music major turned developer.
The hash/pound symbol "#" is also referred to as the number symbol. As in #24 would be pronounced as "number twenty four".
And yes, it was inspired by the musical notation, but the actual sharp symbol was not used because it isn't found in ASCII or UTF-8 (the most common character sets for source code files), and can't be easily generated using a standard keyboard. So they used the plain old hash symbol instead.
My life was a lie.
Then what is #tag
Is it hash tag tag, hash tag, tag or hash
That is ***Hashtag tag***
which is correct
I think they chose C# because it's C++++ and the 4+ signs form a #
Isn't it that it's "C sharp", which is one semitone above C? It's essentially the same as the C++ name, in that it alludes to being "like C but better/newer/more advanced".
Well, C sharp is the final pronunciation. Could be a speck of truth in both, but C plusplusplusplus is very inconvenient to say.
It's a bit of both. C++ was supposed to be an increment on C. C# is supposed to be an increment on the increment, and the # symbol comes from the arrangement of the + symbols. Additionally, "C sharp" was a play on the musical notation, saying it's a step up from C (the interval being a half step, not a whole step).
Or at least, that's what they've claimed since then.
wait c# is better than c++?
Microsoft would certainly like us to think so.
It's not the Java way...
no, is just different
Depends on what you do. Better in some ways, worse in some. Different in alot
The C# team is working hard on making C# a language that can be used for very low-level, high-performance tasks without losing performance.
Since C++ is essentially "C but with more abstractions"... You could see C# as another C++ that goes into a different direction.
C++ still has manual memory management. C# has a compacting garbage collector by default, which results in heap-allocated objects being grouped together (better locality) and faster to allocate (as you don't need to find free memory first). In C#, you pay performance to keep object around. In C++, you pay for each new and delete.
C++ focusses on AOT compilation: it optimizes for one processor architecture, and you might need different code for other processors whether you want to or not. C# uses JIT compilation, which is a lot more portable by default (highest possie performance code will still be very specific to a single CPU). But JIT compilation can take advantage of things that AOT compilation can not: e.g. number of free threads right now. It can also optimize code based on its usage, the more it is used. E.g. inner loop bodies will be optimized a lot more. You pay for this with overhead the first time any code runs, as it needs to be compiled first. But for long-running applications like servers, JIT sure is nice.
But the main difference IMO is that it is much easier to write bad C++ code. Sure, in the hands of an expert with infinite time to develop, C++ will always be the best. But it takes a lot of time to write proper C++, avoid memory leaks, structure your code appropriately, design memory layouts to take advantage of locality, manually spread out delete calls to not have those "garbage collector pauses", ... in C#, low-level features are optional. You can always pay a little runtime for a lot of developer time. And unless you have a complex real-time scenario (embedded, game engine rendering, stuff like that), then developer time is always worth more than perfect performance. C++ is also absolute hell to debug in comparison.
But in the end, neither language is better: you should just pick the right tool for the job. But then again, Microsoft is working hard on features that will let C# replace C++ even in high-performance niches. I've read somewhere that the Unity3D team (one of the largest available game engines) is rewriting large parts of their internal code from C++ in special low-level C#. Let's see what the future brings.
Exactly. Am I aware that AllocHGlobal exists? Sure. Have I ever used it? No.
It's actually way more like Java+ than C++.
Nah Java++ is Kotlin. C# has some trade-offs that value low-level performance over convenience (no type erasure, built-in value types, unsafe mode with pointers, invariant generics by default, ...)
Considering that C++ meant "C but with more abstractions", Java could be C#++ in a sense.
My friend like to say Chashtag.
in chess, checkmate can be notated either with a # or ++ after the last move is written
I still love how the official entry in Wikipedia for C# is titled C-Sharp, and in the first line of the article they explain that they can't name the article C# due to technical limitations
And https://en.wikipedia.org/wiki/C# redirects to [C](https://en.wikipedia.org/wiki/C), so at the top of the article it reads "For technical reasons, "C# (programming language)" redirects here. For the programming language by Microsoft, see C Sharp (programming language)."
Point of detail: it doesn't redirect to the article on C. The outgoing request from your browser is to the article on C in the first place - wikipedia (or any other website, for that matter) cannot tell the difference because a raw `#` is interpreted by the browser and not sent to the server.
So, it can’t be escaped or anything?
it could be easily written as https://en.wikipedia.org/wiki/C%23
But it's not about URL encoding, the real reason is a bit different: https://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Forbidden_characters
It can, but it has to be done with `%`-encoding as `%23`. A _raw_ `#` cannot (normally) be sent as part of a URL in an HTTP request. The exception is that if you manually type and transmit a hand-made HTTP request, you can technically send anything you want. Mind you, there's no guarantee that the server will understand it.
For anyone who isn't aware of how URI `%`-encoding works, there are a strict list of allowed characters for URIs, and _anything else_ is encoded by taking the hexadecimal form of its character code and prefixing it with a `%` symbol. `#` has the character code `35` which becomes `0x23` in hex, and the prefix of `0x` is left off (because that's only an indicator which is, in this case, not required) to make `%23`.
A slight curiosity, https://en.wikipedia.org/wiki/C%23 is a valid URL that requests the (URI-encoded) path `/wiki/C#`, and _this_ page redirects to https://en.wikipedia.org/wiki/C. This can be confirmed with `curl --head https://en.wikipedia.org/wiki/C%23`:
[...omitted for brevity and privacy...]
[...omitted for brevity and privacy...]
For those not experienced with HTTP status codes and headers, [HTTP 301 Moved Permanently](https://httpstatuses.com/301) means that "the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs" or, in short, the requested page still exists but is permanently relocated to the new address, and the old one should not be used anymore. The `Location` header is the new address to go to.
That was seriously helpful and insightful. Thank you!
It seems that your comment contains 1 or more links that are hard to tap for mobile users.
I will extend those so they're easier for our sausage fingers to click!
[Here is link number 1 - Previous text "C"](https://en.wikipedia.org/wiki/C)
^Please ^PM ^[\/u\/eganwall](http://reddit.com/user/eganwall) ^with ^issues ^or ^feedback! ^| ^[Code](https://github.com/eganwall/FatFingerHelperBot) ^| ^[Delete](https://reddit.com/message/compose/?to=FatFingerHelperBot&subject=delete&message=delete%20h1ad4bk)
I was the Wikipedia editor who added that!
Seems a bit indiscriminately unfair. Better to grab a pointy knife and ask how hashtaggy the end of it is as you plunge it between this person’s ribs 🤔
You're been to places haven't you
I’ve been around and about, but never to places. Always wanted to go, but the chance never came up 😪
So is it C point then?
C-pound (UK) C-hash (US)
It's "pound" in America, too.
I thought the UK used kilograms. 😏
C-yourself out of the room
"C this # knife?" \*stabs ferociously\*
Carve "c hashtag" into their torso and ask them how sharp it feels
Measured response… I approve
I am curious as to whether `Person` implements `IDisposable`.
It certainly should given all the unmanaged resources a corpse has to offer
somebody = null;
And make sure you don't wait for pending finalizers and leave the scene asap
I prefer coctothorpe.
Came here to say this, was not disappointed to find it already.
You had a million opportunities to say
git commit -m "Mass Murder"
As a pretzel shop owner, i will never understand git
From your username
The "basics" aren't that hard.
+ **git pull** = get latest code
+ **git add FILENAME** = "I made a change to this file, and want to commit this change" (repeat for however many files you have, or use * to choose all of the files that have changes)
+ **git commit** (**-m "Message"**) = track the changed files under one commit (with a message) [don't use the brackets]
+ **git push** = send the code with the changes back
Vegans are the Arch users of food, I use Arch btw
Oh nice when do we kiss
This. This comment right here.
Yep came here to make a similar joke. Love it
Came here looking for this comment and found gold.
yo if there is C#, where is C ♭
This is the way
This is ~~da wae~~ the way
But that is not the same. It sounds the same, but it isn't the same.
Normally, you would call that note B (or in some countries H), and the scale would be B-major, but under some circumstances (or perhaps to some composers) calling it C-flat makes sense. Especially for harp.
Well, since c flat in music is actually just the note b:
[B Programming Language](https://en.m.wikipedia.org/wiki/B_(programming_language))
Or, we could just use the og C flat and forget entirely how the necessary esoteric musical naming structure works:
[Cb Programming Language](https://www.cs.nmsu.edu/~dfoesch/Cb/SPECIFICATIONS.html)
FAKEEDIT: Yes I know most people have needlessly esoteric naming structures in their code, but I was ranting about music; not my failure as a programmer.
Hm, to B, or not to B? 🤔
College age Zoomer (I think that’s the name assigned to my generation now) here, what is the proper name for C#?
Thanks for the clarification.
Thanks for the award lol
TBH I used to call it C Hash and then my fvrt cousin once told me "Bruh , it's C sharp"
I was like , "WTF"
I did the same.
Back in the day I only ever saw it written down. And that symbol is a hash, so it must be C hash!
(hashtag wasn't even a thing back in those days)
I pronounced it C hashtag once. Was immediately corrected and never did the same mistake again. If you never heard of it before and only saw it in texts how would you know?
Because "#twit" isn't pronounced "hashtag twit" because "#" is "hashtag". "#" is pronounced "hash" and "#twit" is a hash-prefixed tag labelled "twit", or "hash-tag twit".
Or in XML:
From the .cs extension
That person is not very sharp.
I actually pronounced it "C hashtag" until not so long ago... I just never heard a single person pronounce it, only ever read it
C pound sign.
I used to say either “C pound” or “C hashtag” for hahas to people whenever we were working with anything in C#.
Or even C hash is better. # is not a hashtag, it's a hash
That is a hashtag
commit -m "Mass murder"
the strongly typed version of C
One of the many reasons i will never go near that school again.
It's pronounced "cash-tag", duh.
Politely tell them that if they have to pronounce it wrong they should at least pronounce it 'C hashsymbol' as a # is a hashsymbol and only becomes a hashtag once you put string behind it e.g. #itssharpyouidiot.
Or 'C pound sign' is ok too, depending on the region people say hash, pound sign or number sign.
But this way it gives a whole different meaning to the metoo movement.
I know it as C-almohadilla as that is how the symbol is called in Spanish and since I have never used I have never had to watch a YouTube video on it which would have made me learn the pronunciation.
C plus plus plus plus
C - - - - ;)
C += 0.5 actually
This legitimately happened to me at a previous job. I had some diagrams that I drew up on my whiteboard in my cubicle planning out the architecture of our new application. One of our accountants (awesome guy!) came by one day, looked at the diagrams and said "Looks complicated." I said "A little bit. But if you know what you're looking at, it isn't that bad." So then he points to where I had written C# and said "What's C hashtag?" I laughed and corrected him. It was a good time and I briefly told him why it's C sharp.
I mean C# kindof is C pound or C hash; C sharp should be C♯. Obviously I and anyone sane will say c sharp but i dont know how i feel about 'official' pronounciations since the whole gif/jif thing
C♯ vs C# - I love the irony of this comment section. In an effort to demonstrate their knowledge that the correct pronunciation is C sharp, everyone exposes the fact that they don't know the symbol Microsoft uses is not an actual sharp symbol ... except you and me of course ;).
git commit -m "Mass murder"
Me, standing in the corner: They don't know that # is called the number sign, pound sign, or hashmark, not hashtag.
I prefer to call it “Microsoft Java”
For all the scratch programmers out there, it’s supposed to be called “C sharp”
I used to think C# was just a stylization of C++
Error: Invalid file name "mass murder"
My primary school IT teacher called it "C with that funny cross".
No actually, I
When I just beginning in programming in early age I used to pronounce as C hash and I am not ashamed of it
I actually had someone during an interview call it c hash. I'm glad I didn't get the job there.
Say #yolo, *push off cliff*
"mass murder" is a weird name for a git branch
Politely correct them. It is C octothorp.
My wife's cousin kept calling it "C pound." I didn't correct him, and then after a while, I was too embarrassed to.
*Image Transcription: Text Messages*
>**Grey**: somebody comes up to you and pronounces 'C\#' as 'C hashtag'. What do you do?
**Blue**: Commit mass murder
^^I'm a human volunteer content transcriber for Reddit and you could be too! [If you'd like more information on what we do and why we do it, click here!](https://www.reddit.com/r/TranscribersOfReddit/wiki/index)
Wouldnt a screen reader read the # as hashtag?
Only if it's faulty. "#" is a "hash" (or pound) symbol.
Ah thank you
Sharpen my knife.
[Father, I crave violence!](https://lolpics.com/wp-content/uploads/2020/10/1602304085000.jpg)
Pretty sure this situation only requires singular murder
Show them sheet music in E major.
When I first got into programming; I pronounced it “C Hash”
a fudging mannnn who called himself programmer said C hashtag to me just to proof he knows more than me in programming.
git commit -m "mass murder"
Commit force push master
I knew someone I worked with for several months and it never came up but eventually we started talking about similarities and differences between coding languages and in passing he called it “C Pound” and I did a real-life holup
Tell them the correct pronunciation is "Microsoft Java"
Rollback mass murder.
I mean, if you're gonna get all hot and bothered, you should know the hash/pound sign is technically not a sharp either.
Had a buddy call C++, C Double +.
I think he meant...
`git commit mass murder`
My mom pronounced it as "C Number"
I will tie him down and take a knife and ask if knife is hashtag or knife is sharp.I'll stab him if he will say hastag i will not if he will say sharp.After i will ask him to read C# with the same logic applied to his answer as formentioned.All cuts inflicted extremely non lethal way so we can keep practicing until he learns...
It’s the only logical course of action
It’s pronounced “Microsoft Java”
C hash sounds quite legit tho