235
u/_letMeSpeak_ Nov 06 '20
#!/usr/bin/python3111
u/justinf210 Nov 06 '20 edited Nov 07 '20
Doesn't bash read that though, not python? Or am I thinking of something else?
Edit: Huh, Cunningham's Law.
43
110
u/tndaris Nov 06 '20
Correct, that's a https://en.wikipedia.org/wiki/Shebang_(Unix)
→ More replies (1)60
30
5
u/x_interloper Nov 07 '20
Technically at binfmt_misc in Linux kernel. On a few OSes it's emulated at
exec.→ More replies (1)4
→ More replies (1)25
212
u/ekolis Nov 06 '20
But in C, hashtags tell the computer that a line is very important... make up your minds, guys!
143
u/positive_electron42 Nov 07 '20
The hashtag for C is more like eye glasses, because it makes it C#.
55
u/SextonKilfoil Nov 07 '20
...please C your way out of here.
28
19
Nov 07 '20 edited Mar 17 '26
This post's content was wiped by its author using Redact. Possible reasons include privacy, preventing AI scraping, security, or other data management concerns.
divide rock employ gray strong bake chop worm practice pot
15
u/ekolis Nov 07 '20
Why didn't the Java programmer cross the road?
Because he couldn't C#.
14
u/systembusy Nov 07 '20
How many programmers does it take to screw in a light bulb?
None, we don't address hardware issues.
→ More replies (2)24
11
2
u/thuktun Nov 07 '20
To be pedantic, # is not called a hashtag. It is a hash, pound, sharp, or octothorpe.
A hashtag is a tag using a hash (#).
→ More replies (4)
218
u/squiblee Nov 06 '20
Reddit’s obsession with hating hashtags and emojis is just weird
46
u/shiwanshu_ Nov 07 '20
Which is stupid because hashtags are basically what reddit(or subreddits) is but more fluid, content aggregation for similar topics.
Also hashtags are a very good example of emergent behaviour, twitter didn't anticipate the use of feature like it's done today and it's entirely shaped by users accelerated by the California wildfires of 07
4
103
Nov 06 '20
People here feel they're quirky and "cool" for not following pop culture
56
u/Laundromatwriter Nov 06 '20
I purposefully tell people my gate code is Hashtag followed by the number to aggravate them, I also refer to sizes small, medium and large strictly by Starbucks coffee sizes. People make a venti deal about it.
→ More replies (2)17
3
4
4
56
u/refep Nov 07 '20
#facts
Reddit will hate on hashtags but throw around subreddits which serve essentially the same purpose. Really /r/cringe tbh.
13
u/NotAttractedToCats Nov 07 '20
We also hate people using spam subs line r/thirdsub or using subreddits as hashtags.
But if someone uses subreddit mentions correctly they use them to say something like "If you are OP, you may be interested in sharing it in r/foobar, they'd live it. If you are not OP and love this, you may want to check out r/foobar for similar posts.".
→ More replies (1)8
16
4
2
u/sytanoc Nov 07 '20
While also tagging subreddits on any semi-related post as if they were hashtags ¯_(ツ)_/¯
→ More replies (2)3
u/Illusive_Man Nov 07 '20
!emojify
5
u/EmojifierBot Nov 07 '20
Reddit’s obsession ☠ with hating 😡😤 hashtags and emojis 😂👌💯 is just weird 😕
3
u/theoneandonlygriff Nov 07 '20
good bot. I think this illustrates the problem people have with how emojis are used in social media pretty succinctly.
→ More replies (2)
244
u/digicow Nov 06 '20
Ugh. A hashtag is an octothorpe and the word or conjoined words following it. Is is not appropriate to refer to the octothorpe itself as a hashtag.
111
u/J3fbr0nd0 Nov 06 '20
It’s always the pound sign to me
94
u/digicow Nov 06 '20
That’s fine. Number sign works, too. Or even just “hash,” which is where hashtag comes from.
55
u/pe1uca Nov 06 '20
I feel a bit of cringe when reading it as "hashtag" when they are meaning the symbol not the use it has, since, well, a hashtag is a tag that uses a hash at the beginning.
17
u/videocracy Nov 07 '20
I think it makes more sense than reading it as just "hash" since it explains what is being read. Kind of like reading quotes out loud by opening and closing with "quote" and "unquote" or some such.
35
u/bundle_of_fluff Nov 06 '20
The first time I saw C#, I thought it was pronounced C Pound. Not my proudest moment, but I only said it to 1 person and their response was "well, at least you didn't say C hashtag"
12
u/DerelictSausage Nov 06 '20
Reminds me when I told someone my favorite composer was Choppin.
I love all his piano stuff.
32
Nov 06 '20
English is not my first language so before knowing that it is pound i would call '#' sharp.
→ More replies (4)19
16
→ More replies (3)4
u/shmoobalizer Nov 07 '20
Nah that's a £, the name "pound" to refer to # was the result of an encoding error in early computing.
9
u/bikemandan Nov 07 '20
Goes much further back than that. Like Roman empire far back. "lb" was how weight was marked on goods to be sold. Messily and quickly scrawled writing of lb though got twisted into the hash symbol eventually https://en.wikipedia.org/wiki/Number_sign
In some industries its still used for weight. I sell produce and its sometimes used
→ More replies (2)20
u/holly_hoots Nov 06 '20
Another word for it is hash sign. So a hashtag is a tag denoted with a hash. Makes sense, right?
This is also why we call the "#!" at the top of shell scripts the "shebang line" -- it's a shortening of "hash" and "bang" (bang being the typographical name for an exclamation point).
I don't know why anyone would want to call the symbol itself a "hashtag" since...well what do you call an actual hashtag then? A hashtagtag? Makes no sennnnnnnse!
→ More replies (3)4
Nov 07 '20
Honestly... not everyone understood "Pound sign" or whatever you mentioned before. Calling it "hashtag" seems to be universally understood. It might be somewhat cringe but it's better then having to explain what you mean.
I guess language evolved like that and social media also evolved with the hashtag as a topic umbrella-term in everybodys mind. And it's not like it was used differently in IRC - it basically also meant discussion of a certain topic in this channel back then. Usage on like telephones was always niche at best.
41
u/Kangalioo Nov 06 '20
People seem to understand what is meant, so why not
25
12
u/SillyActuary Nov 06 '20
Yup, the point of language is to convey meaning... Idk why people are bothered lol. Language changes all the time.
Although I still happily call it a hash ¯_(ツ)_/¯
→ More replies (11)5
7
u/Jimmyginger Nov 06 '20
To add on to this, the octothorpe is also known as a hash. It’s called a hashtag because you are using the hash symbol to tag a post. Usage of hashtags, that is using a hash to denote the tagging of a subject, has its roots in the early days of IRC, and as such has been around in internet communications since the inception of widespread internet communications.
2
u/MrMonday11235 Nov 07 '20
Even if you take the reading of "hashtag being both the symbol and the words following" (which I generally agree with you on), the follow-on comment still make sense:
#Python comments can be confusing when context switching from CIn the above, "#Python" would be the hashtag, and all the words following the hashtag are still "not worth reading" for the computer (which isn't accurate, but sufficient for now).
Pedantry, yes, but you were being pedantic, too, so fair game.
4
Nov 06 '20
I had to remove a person from snapchat I went to high school with because they would use hashtags in their captions, multiple words with no spaces. On snapchat where the hashtag doesn’t do fuck all. It drove me up the wall.
→ More replies (7)2
u/elyisgreat Nov 06 '20 edited Nov 07 '20
Is is not appropriate to refer to the octothorpe itself as a hashtag.
It absolutely is. Hashtag and octothorpe are both neologisms anyway and the symbol has a lot of names.
Edit: I realise I am more in defense of the name "hashtag symbol", since the hashtag is the entire keyword which is delimited by
#and not the#symbol itself. In any case, it seems that common usage disagrees, which unfortunately makes the distinction ambiguous.→ More replies (3)3
u/digicow Nov 06 '20
I guess that depends on what you call "new" for a neologism, but given that "octothorpe" has applied to it for ~60 years and the symbol itself only dates back to the mid-1800s, I wouldn't say it applies
→ More replies (1)
40
u/xpdx Nov 07 '20
This is a hash: #
A tag is a marker or label like this: election2020
Different languages and platforms implement tags differently:
<tag>election 2020</tag>
On many social media platforms they use a hash: #
This is a hashtag: #election2020
This is just a hash: #
This concludes the hashtag PSA.
→ More replies (1)
52
11
u/PsychicActuary Nov 06 '20
In C, however, the hashtag reminds me of how little I understand about how C works.
11
u/Bakoro Nov 06 '20
https://www.tutorialspoint.com/cprogramming/c_preprocessors.htm
There you go. The surface level is very simple, really.
→ More replies (1)2
9
Nov 07 '20
It's even worse when you have to comment virtually every single line in high school CS classes and shit turns out looking like this:
# This
def func(x):
# Does
x += 1
# This
x -= -1
# Oh
while True:
# My
if x > 10:
# Freaking
break
else:
# God
x -= -1
# ProgrammingIsFun
return TrueSeeing this is when you know you're in a class and they dock points for not enough comments!
→ More replies (6)
20
u/2qSiSVeSw Nov 06 '20
When used as designed they don't bother me, but
#WrongUseofHashtag #ImStupid #HashtagsDontWorkOnThisSite #yolo
Annoys this piss out of me
17
8
4
u/Bizzlington Nov 06 '20
In SQL it's used for temporary tables. Something that may be used frequently for a short time, then promptly forgotten about as we move onto something else.
Pretty similar to social media too.
4
4
4
u/indorock Nov 07 '20
Acting like it's only Python that uses hashes for comments is so typical of a Python dev. Or someone who pretends to be one.
→ More replies (1)2
28
3
3
3
3
8
31
u/eduarbio15 Nov 06 '20
OHOH LOOK AT ME, I DONT *LIKE HASHTAGS, I DONT *LIKASMDO SOCIAL ** ONLINE STUFFF, IM NOT A SHEEEP, STOP BEIN*G A SHEEEEPP SHEEEEOOPPLLEEEEEE ** ** **
* * * * * * *
* * * *
* * * *
*
2
u/rolls20s Nov 07 '20
!emojify
3
u/EmojifierBot Nov 07 '20
OHOH 🗣 LOOK 👀 AT ME, I 👁 DONT 🚫 *LIKE 💖 HASHTAGS, I 👁 DONT ❌ *LIKASMDO SOCIAL 👥 ** ONLINE 🌐 STUFFF, IM 💘 NOT A SHEEEP, STOP 🛑⛔ BEIN*G A SHEEEEPP SHEEEEOOPPLLEEEEEE ** ** **
* * * * * * *
* * * ** * * *
*
7
4
4
4
u/purple-lemons Nov 06 '20
A "hash symbol" is used to tell a computer to ignore a line, just as the "hash symbol" proceeds the contents of a "hash tag"
4
Nov 06 '20
Lmao rookie mistake, I called the hash symbol Hashtag too in my first python oral test and the professor cut a mark off remarking "this isn't twitter, this is python"
4
u/abdojo Nov 07 '20
stop with this boomer shit. Hashtags are a legitimately good way to tag content for organization. Yes some people misuse them, but so what. Doesn't diminish their value as a whole.
5
2
2
2
u/DitDashDashDashDash Nov 07 '20
So let me get this straight. In German the shorthand for '000 is " Tsd."? Aren't you using MORE characters and screen space than just writing the full number outright?
→ More replies (1)
2
Nov 07 '20
That is the point of hashtags though. They're not usually meant to be read, they're generally added at the bottom. The point is to share a public post with anyone following that hashtag. It's a great way to get a page started if you do it right.
2
u/Industrialpainter89 Nov 07 '20
Aren't they meant to indicate key words for search engines? They're not meant to be part of the dialogue anyway, they just help people look up relevant topics.
2
u/darkElite99 Nov 07 '20
Not wrong though. Hashtags are just tags that allow people to search and find your content.
2
Nov 07 '20
Yea but the hashtag doesnt just tell the computer its not worth reading, it tells humans they really should read this.
2
2
2
u/Benimation Nov 07 '20
Exactly. Nobody reads the comments. Or the documentation. Or the file that's literally called "README".
2
2
2
3
u/weggles Nov 06 '20
A hashtag is for searching, dummies.
If you have an event, you can all use a common hash tag to find relevant posts.
Like #SarahJoe2020wedding
Complaining about hashtags is some ignorant boomer shit
2
u/RadioMelon Nov 06 '20
I'm melting away in C++.
It's so hard for me to accept hashtags not being used for some kind of inclusion or extra function, it's why it's actually hard for me to knuckle down and actually use Python.
2
u/King_Dippppppp Nov 07 '20
If you're a developer, they're called pound signs not hashtags when used in code. Not gonna lie, I do poke fun of any developer who calls a pound sign a hashtag. Hashtags are dumb, pound signs are useful though #bringbackthepoundsign.
1
1
1
u/MT_Flesch Nov 07 '20
In persia, hashtags are necessary else someone could sell you a cake of camel dung and you would have no recourse but to take it
1
u/SnowySupreme Nov 07 '20
Than whats the point of making that line. I dont program so can someone enlighten me
1
u/findmein Nov 07 '20
But that's the point. You shouldn't be reading them but they help to search for the topic that you are interested in
1
1
1
1
1
u/DrinksToDie Nov 07 '20
Elon Musk is an abomination. Without his rich daddy, he would be just another loser posting about cucks on 4chan.
1
1
1
1
1
u/Haggerstonian Nov 07 '20
Totally agree. Saw it coming since the first panel... generic ass cartoons too
1
1
1
1
1
Nov 07 '20
Tbh after the going through the Tensorflow documentation, the lines worth reading are impossible anyways
1
1
1
1
1
u/NSA_GOV Nov 07 '20
But it can be very valuable to a human (next programmer) reading it. Comment your code!
1
1
1
1
1
1
1
1
1
1
1
u/Akosa117 Nov 07 '20
Hashtags are just tags. they exist everywhere even on reddit... why do people have hate boners for the stupidest things?
1
1
1
1
1
1
1
1
u/XxZmxncbvxX Nov 06 '20
I know almost nothing about programming. If a line isn't worth being read, is there any reason for it to exist all?
4
1
u/NewVoice2040 Nov 07 '20
It also means some idiot is trying to explain why he is half as smart as he thinks he is. /s
1
u/crevicepounder3000 Nov 07 '20 edited Nov 07 '20
Comments are potentially the most important things to read in a code file.
1
1
u/geared4war Nov 07 '20
The last time I used a hashtag was March I think. It was fuck2020. I didn't realise how hard 2020 would fuck me back.
1
1
u/itsmissingacomma Nov 07 '20
I took my first ever programming lesson today, and I feel proud that I understood this joke.
1
1
1
u/chozar Nov 07 '20
If you use a hash symbol for tagging, the whole thing becomes a hashtag. If you just use a hash symbol, it's just a hash symbol. Python doesn't have hashtags.
1
2.4k
u/[deleted] Nov 06 '20 edited Nov 06 '20
Spoken like two brogrammers in an intro to programming class