55

Wikipedia and The Free Dictionary were not much help — is there a practical difference in the semantics of suffix and postfix, except that the latter is more rare?

File name extensions are well known. For example, index.en.xhtml could reasonably be assumed to be the index file of a website directory, in XHTML format, and with primarily English, human-readable contents. I’d normally call the collection of extensions (.en.xhtml in the example) the suffix or postfix, but it’s not obvious which (if any) is technically and/or semantically more accurate.

3
  • 2
    Postfix is clearly used as the opposite of prefix. (post-after and pre-before) All my life I have been using suffix- when learning morphology in high-school or string algorithms at the University. When talking about words, string and ect aka sequence of characters I am almost positive that suffix is the more suitable word. As you can see from my examples above all my life I have been using suffix in that exact context. Sep 11, 2012 at 12:31
  • @FumbleFingers postfix is not a modern term as RoaringFish points out. Mar 31, 2021 at 22:32
  • Apparently I'm wrong (judging by the sources cited here), but my gut feeling would always have associated the "post"-prefix to indicate chronology rather than location... for that reason, "postfix" just feels inherently wrong to me... anyone else got that? Oct 29, 2021 at 14:43

5 Answers 5

48

I think both can be used interchangeably, although the context sometimes determines which word you are more likely to use. For example, in linguistics, an affix after the stem of the word is called a suffix. In computer programming, when an operator appears after the operand, it is known as a postfix operator.

As far as a file extension goes, my intuition would be to go with "suffix", but I believe that "postfix" would be equally valid.

The word "suffix" has been around since 1778. I was unable to uncover a similar etymology for the word "postfix", leading me to guess that it is a modern invention, as "post-x" is a more obvious candidate for being the opposite to "pre-x". In this regard it is very much like prepone in Indian English, except that it has caught on globally.

3
  • It is not true that all affixes are suffixes. See Alex B's answer. Mar 31, 2021 at 22:30
  • Also as RoaringFish notes, postfix has been around for a similar period of time. Mar 31, 2021 at 22:31
  • @PaulChilds: This answer never claimed that all affixes are suffixes, so I'm not sure what you're responding to.
    – Flater
    Dec 15, 2021 at 14:33
18

From a "pure" English standpoint, postfix is essentially a lesser-used synonym for suffix, both in the noun and verb sense (with the verb being the act of adding a suffix). In fact, my dead-tree American Heritage Dictionary, 2nd College Ed. gives these (and only these) definitions of postfix:

n. A suffix.

tr v. To suffix.

More modern definitions of postfix have cropped up, including the adjective used in computing and mathematics, and a medical verb.

I disagree with Roaring Fish's analysis of the n-grams. I believe postfix and suffix are both rising in large part because of their use in computing. Computer programmers typically use postfix only as an adjective and suffix only as a noun. Therefore, the thing that comes after a dot in the name of a file would only be referred to as a suffix (given just these two choices). The use of suffix dwarfs that of postfix even in computing because plenty more people are exposed to file extensions than to mathematical or programming notation.

Finally, I would like to say that for your particular use (denoting the part or parts of a file name following a dot), extension is actually the most common and preferred term. Normally it refers only to the stuff after the last dot, so if you want to specify the collection of extensions, the most clear alternative is to say just that, or something to its effect. (Other possibilities might be stack, string, or series of extensions.)

1
  • +1 for "dead-tree" attribute. What would you suggest as the opposite term while retaining the style? I can only think of "negativly-charged-current" but, as you may infer from my comment, I'm not satisfied with it. In fact, I think I'll ask a question on the subject. Jun 1, 2014 at 11:35
9

In linguistics, the term "postfix" is not so widespread in Anglophone linguistics, the more common one being "suffix".

Indeed, there is a difference between a suffix and a postfix. A postfix is whatever comes after the base of a word, be it a suffix or an ending or even an enclitic. Thus, under this interpretation, a postfix is a hyper(o)nym, whereas a suffix is a hyponym.

The term "postfix" is somewhat more common in German and Russian linguistics, cf. Hall 2000:

enter image description here

1
  • 1
    To extend on this answer in line with aglutinative languages, one would not call ".en.html" as a whole a suffix but rather a postfix. ".en" and ".html" are individually suffixes. Mar 31, 2021 at 22:38
3

To my mind:

  • Postfix is an adjective describing a type of notation (syntax), or a corresponding verb. For example, In postfix functional notation, the function is postfixed to its arguments, meaning that the arguments are written first, followed by the function. E.g.: (x, y)f, as opposed to prefix notation: f(x,y).

  • Suffix is a noun meaning the last part of a string of characters (e.g., a word). For example:

    • A gerund has suffix "ing".
    • *A file-name extension is the part of a file-name suffix that follows ".". E.g., for file name "foobar.el", the base file name "foobar" is followed by the suffix ".el"; it has extension "el".

(I say "to my mind" because I am too lazy to check for support... I do not think of "postfix" and "suffix" as being synonymous, at all. But I could be wrong... And I see that other answers here present references contradicting what I've said, saying that they are synonyms. Perhaps my understanding reflects the way these terms are used in computer science, in particular, but I don't know that for sure either.)

1

The simple answer is that, other than popularity, there is not much practical difference.

OED tells us that postfix is used in grammar and linguistics:

postfix, n. and adj.

Pronunciation: Brit. /ˈpəʊs(t)fɪks/ , U.S. /ˈpoʊs(t)ˌfɪks/

Grammar and Linguistics. An element (e.g. -ly) added to the end of a word; a suffix.

and Ngram tells us that the word has been around since around 1800, which agrees with the earliest 1805 example given in OED.

On that basis, I don't think that computing has much to do with it. It is tempting to say that the recent rise in the usage of postfix is from its use in computing, but as suffix shows a similar rise there is probably an outside factor causing both increases. Ebooks maybe.

To put some perspective on the frequency of use for these two words, neither BNC nor COCA corpora found postfix, but BNC found 148 instances of suffix, and COCA found 145. (That is itself quite curious, as COCA (American English) has 450 million words, while BNC (British English) has 100 million.)

3
  • +1 That Ngram certainly gives a good indication which to use.
    – l0b0
    Sep 11, 2012 at 10:54
  • It may be just you - I have never used 'postfix' - but I can understand why you see it that way. OED lists 'suffix' as a verb, but to me it sounds odd used in that way. Sep 11, 2012 at 12:58
  • 1
    @tchrist: It's not just you. It's definitely a common pattern among modern AmE speakers. Actually, it's probably more common to use neither as a verb (using append instead), and to not use postfix at all, unless you're a computer programmer (or possibly mathematician or calculator geek).
    – John Y
    Sep 11, 2012 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.