Agreed on the first bit, but it's a bit different with Trump from what I've seen. They usually put out one or two tweets about him that randomly get a ton of attention, and then they keep at it because those tweets got more attention than anything else they've tweeted. Probably either because of the "influencer high" or because they think it'll keep their reach high enough that they can use their Twitter for some kind of marketing purpose.
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.
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"
“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.”
2.4k
u/[deleted] Nov 06 '20 edited Nov 06 '20
Spoken like two brogrammers in an intro to programming class