Why is the C language called "C"? Does C stand for "Compiler"?
为什么C语言称为“C”? C代表“编译器”吗?
Also, why does C++ have two pluses? Is it because it is the second version of C? What about C#, does the #
stand for four pluses (++++
)? Is there going to be something else in the future, something like C~ or C*?
另外,为什么C ++有两个优点呢?是因为它是C的第二个版本吗?那么C#怎么样,#代表四个加号(++++)?未来会有别的东西,比如C~或C *吗?
5 个解决方案
#1
See this page of programming language name origins. Note that various names like C, C++, and C# were made up by different people over time, so who can say what someone will choose in the future?
请参阅编程语言名称来源的此页面。请注意,C,C ++和C#等各种名称是由不同的人随着时间的推移而组成的,那么谁可以说出将来会选择什么?
#2
the languages are named after their predecessor languages
语言以其前身语言命名
C is the successor to B.
C是B的继承者。
C++ means "increment C by 1" in C
C ++表示在C中“将C递增1”
C# (sharp, not pound) means a half-note above C (from music)
C#(锐利,不是磅)意味着高于C的半音(来自音乐)
#3
C++ is not the second version of C. C++ tried to add classes, templates and a few more things.
C ++不是C的第二个版本.C ++试图添加类,模板和一些其他东西。
Quote from Wikipedia regarding the naming of C++:
来自*的关于C ++命名的引用:
According to Stroustrup: "the name signifies the evolutionary nature of the changes from C".[5] During C++'s development period, the language had been referred to as "new C", then "C with Classes". The final name is credited to Rick Mascitti (mid-1983) and was first used in December 1983. When Mascitti was questioned informally in 1992 about the naming, he indicated that it was given in a tongue-in-cheek spirit. It stems from C's "++" operator (which increments the value of a variable) and a common naming convention of using "+" to indicate an enhanced computer program. There is no language called "C plus". ABCL/c+ was the name of an earlier, unrelated programming language.
根据Stroustrup的说法:“这个名字代表了C变化的进化性质。”[5]在C ++的开发阶段,该语言被称为“新C”,然后是“C with Classes”。最终的名字归功于Rick Mascitti(1983年中期)并于1983年12月首次使用。当Mascitti在1992年非正式地询问有关命名时,他表示这是以一种诙谐的精神给出的。它源于C的“++”运算符(增加变量的值)和使用“+”表示增强的计算机程序的通用命名约定。没有一种叫做“C plus”的语言。 ABCL / c +是早期不相关的编程语言的名称。
#4
Once upon a time there was a language called BCPL. BCPL begot B, which begot C. C begot C++, an incremental improvement. C# is pretty unlike C++ or C save perhaps for the basics of the syntax, but the sharp is a "visual pun" on a second set of pluses.
曾几何时,有一种叫做BCPL的语言。 BCPL生B,它产生C. C生成C ++,一种渐进的改进。 C#非常不同于C ++或C保存,可能是语法的基础,但锐利是第二组优势的“视觉双关语”。
++
++ ~ #
#5
C is after B, which was a condensed BCPL. It was a natural progression of names. The ++ is a common programming operator which means "increment by one."
C在B之后,它是浓缩的BCPL。这是名字的自然进展。 ++是一种常见的编程操作符,意思是“递增1”。
#1
See this page of programming language name origins. Note that various names like C, C++, and C# were made up by different people over time, so who can say what someone will choose in the future?
请参阅编程语言名称来源的此页面。请注意,C,C ++和C#等各种名称是由不同的人随着时间的推移而组成的,那么谁可以说出将来会选择什么?
#2
the languages are named after their predecessor languages
语言以其前身语言命名
C is the successor to B.
C是B的继承者。
C++ means "increment C by 1" in C
C ++表示在C中“将C递增1”
C# (sharp, not pound) means a half-note above C (from music)
C#(锐利,不是磅)意味着高于C的半音(来自音乐)
#3
C++ is not the second version of C. C++ tried to add classes, templates and a few more things.
C ++不是C的第二个版本.C ++试图添加类,模板和一些其他东西。
Quote from Wikipedia regarding the naming of C++:
来自*的关于C ++命名的引用:
According to Stroustrup: "the name signifies the evolutionary nature of the changes from C".[5] During C++'s development period, the language had been referred to as "new C", then "C with Classes". The final name is credited to Rick Mascitti (mid-1983) and was first used in December 1983. When Mascitti was questioned informally in 1992 about the naming, he indicated that it was given in a tongue-in-cheek spirit. It stems from C's "++" operator (which increments the value of a variable) and a common naming convention of using "+" to indicate an enhanced computer program. There is no language called "C plus". ABCL/c+ was the name of an earlier, unrelated programming language.
根据Stroustrup的说法:“这个名字代表了C变化的进化性质。”[5]在C ++的开发阶段,该语言被称为“新C”,然后是“C with Classes”。最终的名字归功于Rick Mascitti(1983年中期)并于1983年12月首次使用。当Mascitti在1992年非正式地询问有关命名时,他表示这是以一种诙谐的精神给出的。它源于C的“++”运算符(增加变量的值)和使用“+”表示增强的计算机程序的通用命名约定。没有一种叫做“C plus”的语言。 ABCL / c +是早期不相关的编程语言的名称。
#4
Once upon a time there was a language called BCPL. BCPL begot B, which begot C. C begot C++, an incremental improvement. C# is pretty unlike C++ or C save perhaps for the basics of the syntax, but the sharp is a "visual pun" on a second set of pluses.
曾几何时,有一种叫做BCPL的语言。 BCPL生B,它产生C. C生成C ++,一种渐进的改进。 C#非常不同于C ++或C保存,可能是语法的基础,但锐利是第二组优势的“视觉双关语”。
++
++ ~ #
#5
C is after B, which was a condensed BCPL. It was a natural progression of names. The ++ is a common programming operator which means "increment by one."
C在B之后,它是浓缩的BCPL。这是名字的自然进展。 ++是一种常见的编程操作符,意思是“递增1”。