程式語言常用之符號與詞彙 - 中英文對照
泰勞分享此篇『中英文對照』最主要的參考資料來源是Sololearn這個平台,因為最近正在學習新的語言,而Sololearn裡面的教學內容是用英文講解,因此可以學習原文表示程式碼、表達程式邏輯的方式,當然也包含了許多常見符號、詞彙和運算子,個人覺得是個不錯的教學平台,在Play商店上也有應用程式可供下載,而且App版本還可以跟其他玩家對戰喔!
程式語言常用符號-中英文對照
程式語言常用運算子-中英文對照
程式語言常用詞彙-中英文對照
其他-中英文對照
雖然泰勞大多時間都是看中文書籍為主,但偶爾還是會翻一下原文來對照,尤其當我需要在一些全世界都在使用的論壇上發問時,必須得乖乖使用英文,有時後真的會深感無奈,書到用時方恨少阿!
順帶一提,看原文書最重要的好處就是『原文意思不會因為翻譯而受到扭曲甚至誤解』,因為有些單字其實是不適合直接翻譯成中文的,不過前提是讀者本身英文不能太差。畢竟西方世界就是資訊領域的發源地,直接閱讀他們撰寫的書籍,不但可以更容易融入資訊世界,也能較早吸收到最新的技術。
註:若有錯誤,拜託一定要通知我!
time
| 符號 | ||
| 中文 | 長相 | 英文 |
| 小數點 | . | decimal point |
| 點 | . | dot (ex:www.blogger.com) |
| 逗號 | , | comma |
| 分號 | ; | semicolon |
| 冒號 | : | colon |
| 雙冒號 | :: | double colon |
| 等號 | = | equal sign |
| 連接號 | - | hyphen / dash |
| 底線 | _ | underscore |
| 斜線 | / | forward slash |
| 反斜線 | \ | back slash |
| 雙斜線 | // | double slash |
| 星號 | * | asterisk |
| 斜線加星號 | /* | a forward slash followed by an asterisk |
| 星號加斜線 | */ | an asterisk followed by a forward slash |
| 刪節號 | ...... | ellipsis |
| 波浪號 | ~ | tilde |
| 錢字號 | $ | dollar sign |
| 百分號 | % | percent sign |
| 驚嘆號 | ! | exclamation mark |
| 井字號 | # | octothorpe / number sign |
| 小老鼠 | @ | at sign |
| 單引號 | ' ' | single quotes |
| 雙引號 | " " | double quotes |
| 尖括號 | <> | angle brackets |
| 大括號 | { } | curly brackets |
| 中括號 | [ ] | square brackets |
| 小括號 | ( ) | parentheses |
| 左括弧 | ( | open parenthesis |
| 右括弧 | ) | close parenthesis |
| 運算子 | ||
| 中文 | 長相 | 英文 |
| 賦值(指派) | = | assignment operator |
| 相加並賦值 | += | addition and assignment operator |
| 相減並賦值 | -= | subtraction and assignment operator |
| 算術運算子(Arithmetic operator) | ||
| 加法 | + | addition operator |
| 減法 | - | subtraction operator |
| 乘法 | * | multiplication operator |
| 除法 | / | division operator |
| 取餘數 | % | remainder operator |
| 遞增運算子 | ++ | increment operator |
| 遞減運算子 | -- | decrement operator |
| 關係運算子(Comparison operator) | ||
| 大於 | > | greater than operator |
| 小於 | < | less than operator |
| 等於 | == | equal to operator |
| 不等於 | != | not equal to operator |
| 大於等於 | >= | greater than or equal to operator |
| 小於等於 | <= | less than or equal to operator |
| 邏輯運算子(Logical operator) | ||
| 且 | && | AND operator |
| 或 | || | OR operator |
| 反 | ! | NOT operator |
| 位元運算子(Bitwise operator) | ||
| 位元AND | & | bitwise AND operator |
| 位元OR | | | bitwise OR operator |
| 位元互斥OR | ^ | bitwise XOR operator |
| 取補數 | ~ | complement operator |
| 位元左移 | << | left shift operator |
| 位元右移 | >> | right shift operator |
| 詞彙 | ||
| 中文 | 英文 | |
| 註解 | comment | |
| 索引 | index | |
| 程式碼 | code statement | |
| 語法 | syntax | |
| 單行 | single-line | |
| 多行 | multi-line | |
| 字母 | letter / alphabet | |
| 大寫 | uppercase | |
| 小寫 | lowercase | |
| 區分大小寫 | case-sensitivity | |
| 按字典順序 | lexicographically | |
| 變數 | variable | |
| 參數 | parameter / argument | |
| 常數 | constant | |
| 餘數 | remainder | |
| 負數 | negative number | |
| 正數 | positive number | |
| 偶數 | even number | |
| 奇數 | odd number | |
| 分數 | fractional number | |
| 浮點數 | floating-point number | |
| 數字 | digit | |
| 商 | quotient | |
| 冪 | exponentiation | |
| 平方 | square | |
| 平方根 | square root | |
| 絕對值 | absolute value | |
| 保留字 | keyword | |
| 原生指令 | primitive operator | |
| 運算子 | operator | |
| 運算元 | operand | |
| 修飾符 | decorator | |
| 二進制 | binary | |
| 十進制 | decimal | |
| 十六進制 | hexadecimal | |
| 小數位 | decimal place | |
| 優先權 | precedence | |
| 基本資料型態 | primitive data type | |
| 參考型態 | reference type | |
| 類別 | class | |
| 函式 | function | |
| 方法 | method | |
| 介面 | interface | |
| 物件 | object | |
| 遞迴 | recursion | |
| 疊代 | iteration | |
| 過載 | overload | |
| 覆寫 | override | |
| 繼承 | inheritance | |
| 封裝 | encapsulation | |
| 多型 | polymorphism | |
| 泛型 | generics | |
| 抽象 | abstraction | |
| 空白鍵 | space | |
| 其他 | ||
| 中文 | 範例 | 英文 |
| 以逗號分隔的清單 | int a=1, b=3, c=6; | comma-separated list |
| 建立一個實例 | String s = new String("ABC"); | create an instance |
雖然泰勞大多時間都是看中文書籍為主,但偶爾還是會翻一下原文來對照,尤其當我需要在一些全世界都在使用的論壇上發問時,必須得乖乖使用英文,有時後真的會深感無奈,書到用時方恨少阿!
順帶一提,看原文書最重要的好處就是『原文意思不會因為翻譯而受到扭曲甚至誤解』,因為有些單字其實是不適合直接翻譯成中文的,不過前提是讀者本身英文不能太差。畢竟西方世界就是資訊領域的發源地,直接閱讀他們撰寫的書籍,不但可以更容易融入資訊世界,也能較早吸收到最新的技術。
註:若有錯誤,拜託一定要通知我!
time
筆記太好用了 希望不要消失
回覆刪除不客氣XD
刪除