r/ProgrammerHumor • • Nov 06 '20

Meme Totally agree

Post image
52.1k Upvotes

474 comments sorted by

View all comments

Show parent comments

110

u/Tr0user_Snake Nov 07 '20

Especially since the '#' doesn't indicate that some text is "not worth reading". It specifies the beginning of a specific token to the lexer that is then ignored during parsing and subsequent compilation/interpretation steps.

The comment itself is still read (i.e. loaded into memory) by the computer.

78

u/ForsakenWafer Nov 07 '20

Also it's called a hash.

Hashtag is specifically a social media thing

0

u/[deleted] Nov 07 '20

[deleted]

51

u/way2amayesing Nov 07 '20

I've always known it as a "hash" because for me a pound sign is "£"

11

u/benargee Nov 07 '20

In phone-speak, I've only heard it as the pound sign.

9

u/way2amayesing Nov 07 '20

If I heard "press pound" on a phone I would know what to press, but an authentication service I have to use fairly regularly calls it "hash". I can't say that I've taken much notice at what is said otherwise.

In conversation, unless its explicitly obvious based on context, "pound sign" automatically translates as £ to me. Not sure if its a UK thing or just my personal experience.

34

u/aboardthegravyboat Nov 07 '20

Hashtags are called hashtags because they are tags that start with a hash. Twitter was originally billed as a "microblogging" platform. If you remember from the early blog days, tags were a big thing - tagging articles instead of categorizing them. Tag clouds were all the rage. Seriously - managers ate that this up. "Our blog needs a tag cloud! Tag clouds are the shit!" So Twitter also decided to support tagging, but instead of adding a separate field, you just push a hash in front of it. Hashtags were born.

It's insane to me how many programmers call the character itself a "hashtag"

-6

u/[deleted] Nov 07 '20

It's insane to me how many programmers call the character itself a "hashtag"

The character is a "hashtag" now, though

9

u/flinnja Nov 07 '20

it’s not a sharp ♯

12

u/tech6hutch Nov 07 '20

This should be the comment marker in C# C♯

28

u/[deleted] Nov 07 '20

Yup, always remember #MeToo means pound me too

21

u/[deleted] Nov 07 '20

This comment, officer.

5

u/[deleted] Nov 07 '20

Well, not sharp. It looks like a sharp so you’ll often see it used as one (like the letter n may be used as a stand-in for ñ).

A sharp looks like this: ♯

4

u/FezoaStaler Nov 07 '20

I call it the tictactoe

3

u/Deviant_Spark Nov 07 '20

Hashtags aren't even a bad thing as long as they're not done annoyingly in my opinion. Without hashtags I wouldn't be able to find half of the cool makers and artists I've found on places like IG that rely on hashtags to find people with similar interests.

9

u/shadowdsfire Nov 07 '20

Doesn’t really fit the joke though...

“In python, hastags are used to specify the beginning of a specific token to the lexer that is then ignored during parsing and subsequent compilation/interpretation steps, much like in social media.”

1

u/Illusive_Man Nov 07 '20

I’m not sure about all compilers, but many of them simply ignore comments

1

u/sytanoc Nov 07 '20

Yeah, comments are the first thing I read lmao