subroutine

[美國]/'sʌbruːtiːn/
[英國]/'sʌbrutin/
詞頻: 非常高

中文釋義

n. 程序的獨立部分。
詞形

短語搭配

nested subroutine

嵌套子程序

call subroutine

調用子程序

例句

The programmer wrote a subroutine to handle error checking.

程序員編寫了一個子程序來處理錯誤檢查。

The subroutine is designed to perform a specific task within a larger program.

這個子程序旨在在較大的程序中執行特定任務。

It is important to properly document each subroutine for future reference.

爲了將來參考,正確記錄每個子程序是很重要的。

The subroutine can be called multiple times from different parts of the program.

子程序可以從程序的不同部分多次調用。

Debugging a subroutine can be challenging when there are multiple nested calls.

當存在多個嵌套調用時,調試子程序可能會很具有挑戰性。

The subroutine returns a value that is used by the main program for further processing.

子程序返回一個值,主程序用於進一步處理。

Efficient subroutines can greatly improve the overall performance of a software application.

高效的子程序可以極大地提高軟件應用程序的整體性能。

The subroutine is responsible for handling user input and validating it before proceeding with the main logic.

子程序負責處理用戶輸入並在繼續主邏輯之前對其進行驗證。

Creating modular code with reusable subroutines can make the development process more efficient.

使用可重複使用的子程序創建模塊化代碼可以使開發過程更加高效。

It is common practice to break down complex tasks into smaller subroutines for easier management.

將複雜任務分解爲較小的子程序以便更容易管理是常見的做法。

下載 App 以解鎖完整內容

想更有效率地學習單字嗎?下載 DictoGo 應用程式,享受更多單字記憶與複習功能!

立即下載 DictoGo