基本编程符号及其德语等效符号
2024-09-29 20:55:16
作为一个使用各种编程语言的初级开发人员,你可能会发现自己在语言之间切换!这可能很令人兴奋,但也有点令人困惑,尤其是在理解代码中使用的各种符号时。
这篇文章可以帮助那些精通德语和英语的人。接下来,您将找到一个综合表格,将最重要的编程符号与相应的德语符号进行匹配。如果您正在处理德语文档或与德语团队沟通,此资源特别方便。
表格:德语和英语的基本编程符号
German
English
Symbol
Usage in Programming
Gleichheitszeichen
Equals sign
=
Assignment of values, comparison in JavaScript (==)
Doppelgleichheitszeichen
Double equals
==
Comparison operator in JavaScript (non-strict)
Dreifachgleichheitszeichen
Triple equals
===
Strict comparison in JavaScript/TypeScript
Ungleichheitszeichen
Not equal sign
!=
Non-strict inequality operator
Striktes Ungleichheitszeichen
Strict not equal
!==
Strict inequality in JavaScript/TypeScript
Größer als
Greater than
>
Greater than comparison operator
Kleiner als
Less than
Less than comparison operator
Größer gleich
Greater than or equal to
>=
Greater than or equal to comparison
Kleiner gleich
Less than or equal to
Less than or equal to comparison
Pluszeichen
Plus sign
+
Addition, string concatenation
Minuszeichen
Minus sign
-
Subtraction, negation
Malzeichen
Asterisk/Multiplication sign
*
Multiplication
Divisionszeichen
Slash
/
Division
Modulozeichen
Modulus/Percent sign
%
Modulo operation (remainder)
Und-Operator
Logical AND
&&
Logical AND operator
Nicht-Operator
Logical NOT
!
Logical NOT operator
Inkrement
Increment
++
Increments the value of a variable by 1
Dekrement
Decrement
--
Decrements the value of a variable by 1
Pfeilfunktion
Arrow function
=>
Defines an arrow function in JavaScript/TypeScript
Punkt
Dot/Period
.
Access object methods/properties
Doppelpunktenotation
Colon notation
::
Method reference in Java, accessing props in React
Doppelpunkte
Double colon
::
Method reference in Java
Fragezeichen-Punkt-Operator
Optional chaining
?.
Safely access nested objects without errors if undefined
Geschweifte Klammern
Curly braces
{}
Block definition, object literals, JSX elements in React
Eckige Klammern
Square brackets
[]
Array declarations, accessing array elements
Runde Klammern
Parentheses
()
Function calls, grouping
Backticks
Backticks
`
Template literals for strings in JavaScript
Tilde
Tilde
~
Bitwise NOT
Doppelte Backslash
Double backslash
\
Escape sequences in strings
Schrägstrich
Forward slash
/
Paths, pision, regular expressions
Doppelschrägstrich
Double slash
//
Single-line comments in JavaScript, Java, TypeScript
Blockkommentar
Block comment
/* */
Block comments in JavaScript, Java, TypeScript
Dollarzeichen
Dollar sign
$
Placeholder in template literals, referencing in jQuery
Fragezeichen
Question mark
?
Ternary operator, optional types in TypeScript
Doppelpfeil
Double arrow
=>
Arrow functions in JavaScript/TypeScript
Doppelter Und
Double ampersand
&&
Logical AND, short-circuit evaluation
Verknüpfungspunkt
Dot/Chain operator
.
Chains properties or methods
Instanceof Operator
Instanceof Operator
instanceof
Checks if an object is of a specific type
编码时在语言之间切换可能很困难。有时候,你可能知道符号的功能,但你不知道它在另一种语言中的名称。这张桌子有助于弥合差距,让你更容易在双语环境中有效沟通。这张桌子可以满足你的需求,无论你是用德语阅读代码注释,还是用英语向同事解释。
理解这两种语言的符号不仅可以提高你的编码流畅性,还可以帮助你更有效地适应国际团队和项目。
欢迎在评论部分添加更多内容,并在此页面上添加书签:)
祝你编码愉快,不要让语言障碍阻碍你!
以上是基本编程符号及其德语等效符号的详细内容。请关注图灵教育的其他相关文章!