469,306 Members | 1,983 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

Why is it called a 'slug'?

pbmods
5,821 Expert 4TB
Ok, I'm intrigued. And a bit confused.

Why is it called a 'slug'?

For those of you that don't know what I'm talking about, or are wondering why I'm asking about living boogers on a technical coding site, a slug is essentially a human-readable version of a primary key.

In blogging and other CMS, the slug usually makes up the 'permalink' for the document. For an example, see this document.
Aug 14 '07 #1
5 15084
Plater
7,872 Expert 4TB
Well it's a stretch but maybe from the following:
http://en.wikipedia.org/wiki/Slug_%28typesetting%29
Sep 18 '07 #2
pbmods
5,821 Expert 4TB
Heya, Plater.

Interesting. I checked out the article you posted, and I noticed a similar article about 'slug' as a news industry term.

It turns out that a 'slug' is also the term for an article headline in a newspaper, named after the physical 'slug' (or piece of lead) that is used in typesetting machines to space out paragraphs.

According to ABC News Radio, the word 'slug' possibly derives from a Scandinavian word meaning 'to move slowly' or (by extension) 'to be lazy'.

Slugs are definitely slower for a server to process than article IDs, that's for sure!

Thanks for the link; I think that about cleared it up for me.
Sep 18 '07 #3
JosAH
11,448 Expert 8TB
According to ABC News Radio, the word 'slug' possibly derives from a Scandinavian word meaning 'to move slowly' or (by extension) 'to be lazy'.
The Dutch word for 'slug' (as in snail) is 'slak' which means exactly the same as
what you just described, which proves once again that Dutch happens to be the
mother of all languages.

kind regards,

Jos ;-)
Sep 18 '07 #4
drhowarddrfine
7,435 Expert 4TB
When I was much younger, I used to repair traffic signals. A bunch of cars moving down the road was called a 'slug', too.
Sep 24 '07 #5
jamesd0142
469 256MB
I disagree guys!

It was and always will be a slimey thing, that makes one hell of a mess in the garden.
Oct 10 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by beveled edges | last post: by
1 post views Thread by beveled edges | last post: by
3 posts views Thread by Jun | last post: by
20 posts views Thread by Charles Law | last post: by
35 posts views Thread by Peter Oliphant | last post: by
reply views Thread by slug-bounces | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.