清晰的句子

預估時間: 10 分鐘

喜劇作家追求最有趣的結果,恐怖作家力求最嚇人的情節,而技術寫作人員則以最清晰為目標。在技術寫作中,清晰度優先於所有其他規則。本單元將建議幾種讓您的句子變得優美清晰的方法。

選擇強而有力的動詞

許多技術寫作人員認為動詞是句子中最重要的部分。選對了動詞,句子的其餘部分就會水到渠成。不幸的是,有些作家只重複使用一小部分溫和的動詞,這就像每天用不新鮮的餅乾和濕軟的生菜招待客人一樣。挑選正確的動詞需要多花一點時間,但會產生更令人滿意的結果。

為了吸引和教育讀者,請選擇精確、有力、具體的動詞。減少使用不精確、軟弱或通用的動詞,例如:

  • be 的各種形式:is、are、am、was、were 等。
  • occur (發生)
  • happen (發生)

例如,思考一下如何透過強化以下句子中的弱動詞來點燃一個更引人入勝的句子:

弱動詞強動詞
The exception occurs when dividing by zero. (除以零會發生例外。)Dividing by zero raises the exception. (除以零會引發例外。)
This error message happens when... (當...時,這個錯誤訊息會發生。)The system generates this error message when... (當...時,系統會產生這個錯誤訊息。)
We are very careful to ensure... (我們很小心的,以確保...)We carefully ensure... (我們小心地確保...)

許多作者依賴 be 的各種形式,好像它們是調味架上唯一的香料。不妨在文章裡撒上一些不同的動詞,讓它更可口。話雖如此,be 的形式有時是動詞的最佳選擇,所以也不用覺得必須在寫作時完全避開 be 的每一種形式。

請注意,通用動詞通常表示有其他問題,例如:

  • 句子不精確或少了行為者(譯註:發出動作的人)
  • 被動語態的句子

練習

請挑選更明確的動詞來釐清下列句子。在此過程中,你可以自由地重新排列句子結構,並加入、修改或刪除詞語:

  1. When a variable declaration doesn't have a datatype, a compiler error happens.
    當變數宣告沒有資料型別,編譯器就會發生錯誤。
  2. Compiler errors occur when you leave off a semicolon at the end of a statement.
    如果陳述句結尾少了分號,編譯器就會發生錯誤。

(1) 幾種可能的答案:

  • When a variable declaration doesn't specify a datatype, the compiler generates an error message.
  • If you declare a variable but don't specify a datatype, the compiler generates an error message.

(2) 幾種可能的答案:

  • Compilers issue errors when you omit a semicolon at the end of a statement.
  • A missing semicolon at the end of a statement triggers compiler errors.

減少使用 there is / there are

There isThere are 開頭的句子,就像是平庸名詞與平庸動詞的結合。這種「平庸的婚禮」會讓讀者感到乏味。用真實的主詞和真實的動詞來向您的讀者表達真愛吧。

在最好的情況下,您可以直接刪除 There isThere are(以及句子後面可能的一兩個詞)。例如,思考以下句子:

There is a variable called met_trick that stores the current accuracy.
(有一個名為 met_trick 的變數,它儲存了當前的準確度。)

移除 There is 會用一個更好的主詞取代通用的主詞。例如,以下任一句子都比原句更清晰:

A variable named met_trick stores the current accuracy.
(一個名為 met_trick 的變數儲存了當前的準確度。)

The met_trick variable stores the current accuracy.
(met_trick 變數儲存了當前的準確度。)

您有時可以透過將真正的動詞和主詞從句尾移到句首來修復 There isThere are 的句子。例如,請注意在以下句子中,代名詞 you 出現在句尾附近:

There are two disturbing facts about Perl you should know.
(關於 Perl,兩個令人不安的事實你應該知道。)

you 取代 There are 可以強化句子:

You should know two disturbing facts about Perl.
(你應該知道關於 Perl 的兩個令人不安的事實。)

在其他情況下,作者以 There isThere are 開頭,以避免創造真正主詞或動詞的麻煩。如果不存在主詞,請考慮創造一個。例如,以下的 There is 句子沒有指明接收實體:

There is no guarantee that the updates will be received in sequential order.
(無法保證更新將按順序接收。)

用一個有意義的主詞(例如 clients)取代 There is,可以為讀者創造更清晰的體驗:

Clients might not receive the updates in sequential order。
(客戶可能不會按順序接收到更新。)

練習

請釐清下列句子,移除 There is,必要時也可以重新排列句子、增刪或修改其他詞語:

  1. There is a lot of overlap between X and Y.
  2. There is no creator stack for the main thread.
  3. There is a low-level, TensorFlow, Python interface to load a saved model.
  4. There is a sharding function named distribute that assigns keys.

  1. X and Y overlap a lot.
  2. The main thread does not provide a creator stack.
  3. TensorFlow provides a low-level Python interface to load a saved model.
  4. The distribute sharding function assigns keys.

(選修) 盡量減少使用某些形容詞和副詞

形容詞和副詞在小說和詩歌中表現得非常出色。多虧了形容詞,普通的草地變得「碧草如茵」(prodigal and verdant),了無生氣的頭髮則變成了「閃閃動人、生氣勃勃」(lustrous and exuberant)。副詞推動馬兒「自由狂野地」(madly and freely)奔馳,狗兒「大聲而兇猛地」(loudly and ferociously)吠叫。不幸的是,形容詞和副詞有時也會讓技術讀者狂吠不止。這是因為形容詞和副詞對技術讀者而言往往過於模糊和主觀。更糟的是,形容詞和副詞會讓技術文件聽起來很像是行銷材料。例如,思考以下技術文件中的段落:

Setting this flag makes the application run screamingly fast.
設定此旗標可讓應用程式執行得飛快

誠然,「飛快」(screamingly fast)會引起讀者的注意,但不一定是好的方面。給您的技術讀者提供事實數據,而不是行銷術語。將無定形的副詞和形容詞重構為客觀的數字資訊。例如:

Setting this flag makes the application run 225-250% faster.
設定此旗標可讓應用程式執行速度加快 225-250%

前面的改變是否剝奪了句子的一些魅力?是的,有一點,但修改後的句子獲得了準確性和可信度。

Important

不要把傳授知識(技術寫作)與宣傳或銷售產品(行銷寫作)混淆。當讀者期待的是學習,就應該提供知識性的內容;不要在教學內容中夾帶宣傳或銷售的資訊。



下一個單元:簡短的句子

Last update: 2025-07-08