diff

diff — 名詞

1. the amount or way in which two or more things are not the same — a shortened, in

1.名詞B1
釋義

差異;差別

兩者不相同的程度

the amount or way in which two or more things are not the same — a shortened, informal form of the word 'difference'.

例句

There is a noticeable diff between the summer and winter hotel rates.

夏季和冬季的飯店價格之間有很明顯的差異。

diff + between + two things

Chiara could not see any diff between the two shades of blue paint.

Chiara 看不出這兩種藍色油漆色調之間有任何差別。

同義詞
  • difference

    the full, neutral form suitable for all registers

  • gap

    emphasises a large or significant difference between positions or levels

  • disparity

    more formal; suggests an unfair or unequal difference

反義詞
  • sameness

    the quality of being identical or very similar

  • similarity

    a point or way in which things are alike

文法句型

diff + between + plural noun phrase

用法筆記

Frequently used in fixed phrases such as 'what's the diff?' and 'same diff'. Avoid this short form in formal academic or business writing.

常見錯誤

Can you diff the two items?
Can you see the diff between the two items?
💡'diff' is a noun, not a verb; the verb form is 'differ'.

2. in computing, a tool or command that compares two text files and shows which lin

2.名詞B2
釋義

比對

比較電腦檔案差異的程式或結果

in computing, a tool or command that compares two text files and shows which lines differ; the report produced by that tool is also called a diff.

例句

Nila ran a diff on the two versions of the configuration file.

Nila 針對設定檔的兩個版本跑了一次比對。

collocation: run a diff + on [file]

When Liam compared the two website files, the diff tool highlighted every line that had changed.

Liam 比較兩個網站檔案時,比對工具標出了所有變動過的行。

同義詞
  • comparison

    a general term; less technical than 'diff'

  • delta

    jargon for the set of changes between two versions

文法句型

run + diff

diff + between + noun phrase

用法筆記

Often used as a proper noun ('diff') to refer to the standard Unix comparison utility. The output of the tool can also be called a diff.

常見錯誤

I diffed the files and they are the same.
I ran a diff on the files and they are the same.
💡'diff' is not commonly used as a verb in standard English; use 'run a diff' or 'compare'.

3. a shortened, informal name for the differential gear — the part of a vehicle tha

3.名詞C1
釋義

差速器

讓車輪以不同速度轉動的齒輪裝置

a shortened, informal name for the differential gear — the part of a vehicle that lets the wheels on the same axle turn at different speeds when going around corners.

例句

The mechanic said the rear diff was leaking oil and would need to be repaired soon.

技師說後差速器在漏油,需要盡快修理。

collocation: rear diff / front diff

A damaged diff can make a grinding noise when the car turns a corner.

差速器故障時,汽車轉彎會發出刺耳的金屬摩擦聲。

同義詞

用法筆記

Common in automotive repair contexts and among car enthusiasts. Always refers to the differential — not the gearbox or transmission.

常見錯誤

The diff needs new engine oil.
The diff needs new gear oil.
💡differentials use specialised gear oil, not standard engine oil.

diff — 形容詞