iT邦幫忙

2025 iThome 鐵人賽

DAY 12
0
佛心分享-IT 人的工作軟技能

English for Software Developers系列 第 12

Day 12 - Punctuation Marks & Mathematical Symbols & Operators / 標點符號 & 數學符號 & 運算子

  • 分享至 

  • xImage
  •  

In this article, I will introduce punctuation marks, mathematical symbols, and operators that are useful for software engineers when explaining their code to colleagues or interviewers.

Punctuation Marks / 標點符號

標點符號 中文 英文
& 表示 and 的符號 ampersand
' 撇號 apostrophe
* 星號 asterisk
@ 小老鼠 at sign
\ 反斜線 backslash
` 反引號 backtick
^ 插入符號 caret
, 逗號 comma
: 冒號 colon
破折號 dash
" " 雙引號 double quotes
:: 雙冒號 double colon
$ 美元符號 dollar sign
! 驚嘆號 exclamation mark
/ 正斜線 forward slash
. 句號 full stop / period
# 井字號 hash sign / octothorpe / number sign / pound sign
- 連接號 hyphen
% 百分號 percent sign
? 問號 question mark
' ' 單引號 single quotes
; 分號 semicolon
~ 波浪號 tilde
_ 底線 underscore
豎線 vertical bar
{ 左大括號 left curly brace
} 右大括號 right curly brace
[ 左方括號 left square bracket
] 右方括號 right square bracket
( 左括號 left (open) parenthesis
) 右括號 right (close) parenthesis

Mathematical symbols / 數學符號

數學符號 中文 英文
| | 絕對值 absolute value
約等於 approximately equal to
/ 除號 division sign
= 等號 equal sign
^ 次方/指數 exponent / power
> 大於符號 greater than sign
>= 大於等於 more(greater) than or equal to / no less than
< 小於符號 less than sign
<= 小於等於 less than or equal to / no more than
- 減號 minus sign
*(×) 乘號 multiplication sign
+ 加號 plus sign
平方根 square root

JavaScript Operators / 運算子

Assignment operators

Name Shorthand operator Shorthand operator
assignment operator x = f() x = f()
addition assignment operator x += f() x = x + f()
subtraction assignment operator x -= f() x = x - f()
multiplication assignment operator x *= f() x = x * f()
division assignment operator x /= f() x = x / f()
remainder assignment operator x %= f() x = x % f()
exponentiation assignment operator x **= f() x = x ** f()

Comparison operators

  • == equal operator
  • != not equal operator
  • === strict equal operator
  • !== strict not equal operator
  • > greater than operator
  • >= greater than or equal to operator
  • < less than operator
  • <= less than or equal to operator

Arithmetic operators

  • % remainder operator
  • ++ increment operator
  • -- decrement operator
  • ** exponentiation operator
  • - subtraction operator / unary negation operator
  • + addition operator / unary plus operator
  • * multiplication operator
  • / division operator
  • A++ postfix increment operator
  • A-- postfix decrement operator
  • ++A prefix increment operator
  • --A prefix decrement operator

Logical operators

  • && AND operator
  • || OR operator
  • ! NOT operator
  • ?? nullish coalescing operator

Bitwise operators

  • a & b bitwise AND operator
  • a | b bitwise OR operator
  • a ^ b bitwise XOR operator
  • ~ a bitwise NOT operator
  • << left shift operator
  • >> right shift operator

Other operators

  • object.property & object["property"] property accessors
  • ?. optional chaining operator
  • condition ? ifTrue : ifFalse conditional (ternary) operator

Additional information

1. We usually put the word "negative" in front of a number to represent a negative number.

  • -1:negative one
  • -2:negative two
  • -100:negative one hundred

2. . 除了 period,也有其他英文解釋: dot


上一篇
Day 11 - Mathematical terms Part 2 / 數學相關用語 Part 2
下一篇
Day 13 - 開發相關單字 Part 1 / Development-related vocabulary Part 1
系列文
English for Software Developers16
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言