Last night, ChrisC idly asked me why, on Twitter, hashtags are called hashtags.
Simple, I said, because they start with a #.
But, he said, they're called hashtags in the US, where the # is known as a pound sign.
I have a vague idea that # is sometimes called a pound sign; it's always struck me as a bit odd. I've always assumed it was related to the days when character sets were limited and it was used in place of £.
But of course they're hashtags. After all, they may call it a pound sign, but they don't pronounce it "pound".
But, said ChrisC, they do. In particular, in the US, C programmers talk about "pound defines".
This is just a bit of stray C syntax. Suppose you want your programme to limit the number of available heffalumps to 7, you can keep checking that:
heffalumps < 7
If you're worried that in the future you might want to allow more heffalumps you could do something like this:
#define MAX_HEFFALUMPS 7
and every time you want to check, you can just say:
heffalumps < MAX_HEFFALUMPS
Every time you write MAX_HEFFALUMPS a magical but dumb thing called the preprocessor will slavishly ensure that that gets treated as a 7. As computers improve and can fit more heffalumps in, you can just update it to:
#define MAX_HEFFALUMPS 24
instead of having to change it in lots of different places. This is commonly referred to as a "hash define". Lots of other instructions begin with the # character. See here for more detail than you can possibly want.
I'm sure at least someone will take serious issue with my AA Milne-based description of what the preprocessor does.
Pound defines?
Yes, he says. And pound includes. And pound ifs. And so on.
This is madness. Why wasn't I told? And can they be made to stop it?
And does anyone know why our American friends don't talk of poundtags?
Simple, I said, because they start with a #.
But, he said, they're called hashtags in the US, where the # is known as a pound sign.
I have a vague idea that # is sometimes called a pound sign; it's always struck me as a bit odd. I've always assumed it was related to the days when character sets were limited and it was used in place of £.
But of course they're hashtags. After all, they may call it a pound sign, but they don't pronounce it "pound".
But, said ChrisC, they do. In particular, in the US, C programmers talk about "pound defines".
This is just a bit of stray C syntax. Suppose you want your programme to limit the number of available heffalumps to 7, you can keep checking that:
heffalumps < 7
If you're worried that in the future you might want to allow more heffalumps you could do something like this:
#define MAX_HEFFALUMPS 7
and every time you want to check, you can just say:
heffalumps < MAX_HEFFALUMPS
Every time you write MAX_HEFFALUMPS a magical but dumb thing called the preprocessor will slavishly ensure that that gets treated as a 7. As computers improve and can fit more heffalumps in, you can just update it to:
#define MAX_HEFFALUMPS 24
instead of having to change it in lots of different places. This is commonly referred to as a "hash define". Lots of other instructions begin with the # character. See here for more detail than you can possibly want.
I'm sure at least someone will take serious issue with my AA Milne-based description of what the preprocessor does.
Pound defines?
Yes, he says. And pound includes. And pound ifs. And so on.
This is madness. Why wasn't I told? And can they be made to stop it?
And does anyone know why our American friends don't talk of poundtags?
no subject
Date: 2010-09-29 02:51 pm (UTC)no subject
Date: 2010-09-29 02:52 pm (UTC)Sure they do. Haven't you ever been on teleconferences where they tell you to press the pound key and you're so busy wrestling with skype to get it to type in the numbers right that you end up doing it three times? Or is that last part just me not knowing how to operate a phone?
no subject
Date: 2010-09-29 02:53 pm (UTC)Nope :)
no subject
Date: 2010-09-29 02:54 pm (UTC)no subject
Date: 2010-09-29 02:54 pm (UTC)no subject
Date: 2010-09-29 02:55 pm (UTC)no subject
Date: 2010-09-29 02:57 pm (UTC)no subject
Date: 2010-09-29 02:57 pm (UTC)'Hashtags' does seem especially odd given they apparently originated with someone who called it a pound sign.
no subject
Date: 2010-09-29 03:03 pm (UTC)But then there's caret/twiddle, pling/bang/shriek too
no subject
Date: 2010-09-29 03:04 pm (UTC)no subject
Date: 2010-09-29 03:05 pm (UTC)no subject
Date: 2010-09-29 03:05 pm (UTC)I don't think there's as strong a concensus on those in the UK, though. I wouldn't be surprised by any of those.
Whereas I've never heard a hash define called anything but that.
Actually, very occasionally a preprocessor define, I suppose.
no subject
Date: 2010-09-29 03:05 pm (UTC)Everyone knows that one of these ^ is called a hat :)
no subject
Date: 2010-09-29 03:07 pm (UTC)no subject
Date: 2010-09-29 03:12 pm (UTC)no subject
Date: 2010-09-29 03:13 pm (UTC)I was aware of the US 'pound' for '#', I'd not thought it was universal (though I haven't offhand been able to find clear evidence of Americans using 'hash'.)
I did find, in UNIX™ System III's /usr/src/cmd/make/defs, this::
clear evidence of Americans using 'hash'.
Date: 2010-09-29 03:16 pm (UTC)no subject
Date: 2010-09-29 03:23 pm (UTC)no subject
Date: 2010-09-29 03:40 pm (UTC)C99 includes the following example:
...which suggests that at least the term isn't totally alien to its (substantially American) audience, although of course it's possible that the author of that particular bit was European. I could find no other instance of 'hash' in the entire document - usually they just write "#" (perhaps a compromise l-)
no subject
Date: 2010-09-29 03:41 pm (UTC)no subject
Date: 2010-09-29 03:47 pm (UTC)2 @ $2
:)
Also, I have a silly question: were you at the Ignite3 event in Kilburn yesterday evening? Someone who looked very, very like you do in your icons was there, but I bailed on saying "hello" because it seemed like a bit of a long shot :)
no subject
Date: 2010-09-29 03:50 pm (UTC)Interesting also that even while calling it hash_hash, the same (I presume!) writer refers to them as "sharp signs".
no subject
Date: 2010-09-29 03:51 pm (UTC)no subject
Date: 2010-09-29 03:54 pm (UTC)Surely not! Nothing in this world goes together half so well as pooters and heffalumps.
Although FWIW my brain did briefly go into a bit of a spin when I glanced at your post and saw:
heffalumps <
...which probably didn't bother anyone else. My server boots up with:
heffalumps>
...but I eventually worked out what you were actually writing about!
no subject
Date: 2010-09-29 03:56 pm (UTC)no subject
Date: 2010-09-29 04:01 pm (UTC)(Though obviously, the note for geeks does prompt you to read it!)
no subject
Date: 2010-09-29 04:02 pm (UTC)no subject
Date: 2010-09-29 04:06 pm (UTC)no subject
Date: 2010-09-29 04:22 pm (UTC)no subject
Date: 2010-09-29 04:37 pm (UTC)No idea why its hashtags - maybe there's some brit who has inflitrated twitter. They are everywhere these days it seems. :)
It is most certainly "pound define".
no subject
Date: 2010-09-29 04:38 pm (UTC)Thank you for investigating.
no subject
Date: 2010-09-29 04:53 pm (UTC)no subject
Date: 2010-09-29 04:56 pm (UTC)Can we take the fact that twitter has hashtags as a triumph of the UK? Was it started by people from here? Or perhaps antipodeans, if they also say hash (though generally they seem to use American terminology more than UK).
no subject
Date: 2010-09-29 05:25 pm (UTC)As I understand it, it was the twitter community that started using hashtags, rather than something the twitter company came up with, so it may have come from a hash-using part of the world. But I could be making that up (thought I read it somewhere!)
no subject
Date: 2010-09-29 05:51 pm (UTC)no subject
Date: 2010-09-29 05:52 pm (UTC)no subject
Date: 2010-09-29 05:52 pm (UTC)no subject
Date: 2010-09-29 07:21 pm (UTC)And the US uses # as a shorthand for Pound weight, not £ Sterling; it may only be coincidence that American keyboards put the # character on the number "3" key where UK keyboards put the £ character.
no subject
Date: 2010-09-29 08:25 pm (UTC)no subject
Date: 2010-09-29 10:48 pm (UTC)There could be a whole new game here, for a certain Sheldon to enjoy..
no subject
Date: 2010-09-30 10:32 am (UTC)For the most part, we do call it the "pound" key. However, way back in the day, when I was at the Pembroke computer labs trying to download Japanese software, I remember that "hash" was part of the syntax used by old FTP programs. If you toggled the -hash option, a "#" symbol would appear for every block of data transferred. So at least some programmers--presumably US-based--were calling it hash back then. But "pound" is much more common.
http://technet.microsoft.com/en-us/library/bb490657.aspx
no subject
Date: 2010-09-30 11:18 am (UTC)She doesn't do programming, so has no idea if there is any consistent convention in the US for its use in that context. She calls the Twitter tags hashtags, simply because that's what they're called.
no subject
Date: 2010-09-30 12:01 pm (UTC)Re: clear evidence of Americans using 'hash'.
Date: 2010-10-02 11:13 am (UTC)no subject
Date: 2010-10-02 11:17 am (UTC)no subject
Date: 2010-10-02 11:23 am (UTC)no subject
Date: 2010-10-02 12:13 pm (UTC)