7

What is the difference between backquote and backtick .

Really, i search on this issue . And it seems that are the same .

`

If so , Is it a synonyms ?

  • 1
    This link may help: unix.stackexchange.com/questions/27428/… – user66974 Jul 2 '14 at 9:17
  • 1
    Personally, I have never heard of them being called backquotes. Backtick is the only term I've heard (as well, of course, as grave accent, when it is used as an actual diacritic, rather than as a character with meaning in programming or markup). – Janus Bahs Jacquet Jul 2 '14 at 10:39
  • 1
    Lisp programmers call them backquotes, because they have a use that's related to that of the normal quote (which is the same character as apostrophe). – Barmar Jul 2 '14 at 21:56
  • I've heard of them as backquotes or backticks interchangeably. – 0112 Dec 18 '14 at 21:15
5

The two words can be used interchangeably. Which one is common depends on the specific programming language community. In particular, programmers in Lisp and Lisp-like languages (e.g. Scheme) tend to use the word backquote, because this is the term used in the Common Lisp specification (and earlier language documents); in Lisp, the use of the backquote character is a variation on the quote character (it allows "unquoting" within the expression), hence the parallel names.

In other language contexts, backtick seems to be more common, because the character is not doing a form of quoting (although MySQL's use is similar to quoting).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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