请输入您要查询的百科知识:

 

词条 P convention
释义

  1. See also

  2. External links

{{no references|date=March 2013}}

The "-P Convention" or "P Question" refers to the act of making a statement into a question by appending "P." When spoken aloud, the "P" is literally pronounced as a separate syllable "Pee."

This practice originated among users of the Lisp programming language, in which there is

the convention of appending the letter "P" on elements to denote a predicate (a yes or no question). It is most commonly used at MIT and the University of California, Berkeley, or among computer scientists working in Artificial intelligence (which frequently uses Lisp).

This usage was immortalized in the Jargon File and from there the use spread to some younger users seeking to be part of the classical Internet community.

The typical example of use is:

    Q: "Foodp?" (Do you want food?)    A: "T!" (Literally, True: yes)    A: "Nil." (Also Null; no, I don't want food).

See also

  • M-expression and S-expression were other new information representations introduced in a related context.

External links

  • http://catb.org/jargon/html/p-convention.html

1 : Computer jargon

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/25 12:20:59