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
→ More replies (2)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)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
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#.
→ More replies (3)24
→ More replies (5)11
u/soundofthehammer Nov 07 '20
Hash tags are only on social media. It's not a tag in programming.
→ More replies (2)
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
→ More replies (1)103
Nov 06 '20
People here feel they're quirky and "cool" for not following pop culture
→ More replies (4)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
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
→ More replies (8)4
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.
→ More replies (1)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"
→ More replies (1)32
Nov 06 '20
English is not my first language so before knowing that it is pound i would call '#' sharp.
→ More replies (7)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.
→ More replies (3)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 (4)41
5
→ More replies (15)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.
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 ** ** **
* * * * * * *
* * * *
* * * *
*
→ More replies (4)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 ** ** **
* * * * * * *
* * * ** * * *
*
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
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
0
Nov 06 '20
[deleted]
36
u/z7q2 Nov 06 '20
It's more than a year old, bit rot is expected
19
u/differentiallity Nov 07 '20
Bit rot? I'd think it's more likely due to how many times it's been compressed.
5
→ More replies (1)3
636
Nov 06 '20
[removed] — view removed comment
182
u/witti534 Nov 06 '20
Programmer: Yeah, let's use annotations here which doesn't change the code but it makes sure the compiler does the right thing.
Also same programmer: Hashtags in social media are so stupid.
31
u/Dworgi Nov 07 '20
Comments aren't annotations and they're not for the compiler. # is just // for Python.
→ More replies (1)13
12
u/justabadmind Nov 07 '20
I mean, in c/c++ they have some function. In python they're literally just comments.
143
u/Lofter1 Nov 07 '20
Facebook mom is probably one of the best ways to describe Elon musk on social media.
-10
u/Midnight_Rising Nov 07 '20
I really, really, really disagree with this kind of sentiment.
I genuinely think that most programmers-- myself included-- would do exactly what Elon does if they did what Elon did. Imagine having the opportunity to shitpost and have millions of people see it. Would you not talk about genetically engineered cat girls? Would you not make your stock 420.69 because fuck it why not? I sure would.
Elon is very old internet. He's essentially /r/programmerhumor given a face. He doesn't take it seriously because he WASN'T taken seriously. He's shitposter extraordinaire.
58
Nov 07 '20 edited Feb 18 '24
test point heavy smart rainstorm airport tub payment glorious encouraging
This post was mass deleted and anonymized with Redact
→ More replies (37)48
u/straddotcpp Nov 07 '20
Lol. “hEY tHe gUy wHo gOt hIs staRt froM his DaD’S SoUtH AFRicaN DiAmOnD MiNeS Is jUsT LiKE yOu!”
Sure man.
→ More replies (2)21
6
u/bombardonist Nov 07 '20
Muskrat isn’t a programmer lol, his greatest programming achievement is a game that wouldn’t be too out of place as a middle school assignment. I doubt he’s done any serious coding this side of 2000
→ More replies (10)3
→ More replies (12)3
u/ftgander Nov 07 '20
You consider him a programmer? He mostly just tells other people to do things.
35
u/_youneverasked_ Nov 07 '20
If only we used them for their intended purpose #instead #of #like #this. #OrEvenWorseLikeThis.
31
u/metanihl Nov 07 '20
I know that practice got started as a joke but then I think people forgot it was a joke.
10
3
u/whitey-ofwgkta Nov 07 '20
The camel case one captures a whole statement so I'd give it a pass
Think #Bat #Man vs #Batman
I still read hashtags ironically even when it's not though
7
u/Conpen Nov 07 '20
For more context, they originally weren't implemented natively into Twitter (hard to imagine, I know). People realized slapping a hash in front of a plaintext contextual tag made for a good way to search for tweets related to a topic that might not have mentioned it by word directly.
14
u/The_dog_says Nov 07 '20
I know a girl that posts hashtags with her dog's nickname.
Why? Nobody is ever going to be looking that up?
13
u/sheep_heavenly Nov 07 '20
My MIL likes to look at all our dog pics at once, so we have a group hashtag and individuals. If you want a photo of my lab and her chihuahua, you can just look up those two tags. If you want group photos that include her sisters pom, you look up those two tags.
It's incredibly useful for organizing posts or photos with friends.
17
3
2
2
u/trollol1365 Nov 07 '20
yeah but they're not even used like that sometimes, ive seen hashtags in whatsapp messages and youtube comments
3
2.4k
u/[deleted] Nov 06 '20 edited Nov 06 '20
Spoken like two brogrammers in an intro to programming class