assertion
assertion是什么意思,
assertion怎么讀
語音:
英音
[??s???n]
美音 [??s??r?n]
n. 聲稱;使用;主張;明確肯定
"assertion"在計算機科學中通常指的是一種斷言(assertion),它是一種在代碼中使用的技術,用于驗證某些條件為真。如果這些條件為假,那么程序通常會停止運行,并可能拋出一個錯誤或異常。斷言通常用于測試代碼的正確性,或者在開發過程中用于驗證某些特定的條件。
此外,"assertion"這個詞也可以指代一種編程風格,在這種風格中,開發者會明確地聲明他們期望某些變量或函數的行為。這種聲明通常被稱為"assertions of faith"或"faith assertions"。
總的來說,"assertion"這個詞在不同的上下文中可能有不同的含義,具體取決于它在特定語境中的用法。
復數: assertions
用作名詞(n.)
- This assertion rests on a misunderstanding.
這種斷言是由一種誤解而來。 - He attempt to rebut the assertion make by the prosecution witness.
他試圖反駁原告方證人所作的斷言。 - Such a questionable assertion is sure to provoke criticism.
這種有問題的主張肯定會招致非議。 - I shall try to justify this assertion.
我將試圖證明這種看法。 - He has not a vestige of evidence for this assertion.
他沒有絲毫證據證明這個論斷。 - We can prove conclusively that his assertion is wrong.
我們可以確證他的論斷是錯誤的。
assert oneself(自我主張)
assert one's rights(主張權利)
assert one's position(表明立場)
assert one's authority(表明權威)
make an assertion(發表聲明)
assert a claim(主張權利)
以上是貝語網校http://www.hhinternational.cn小編為您整理的assertion單詞相關內容。