函數名的意思、翻譯和例句

是什麼意思

「函數名」是指在程式設計中,用來識別和調用特定函數的名稱。函數通常是執行特定任務的代碼塊,而函數名則是用來引用這個代碼塊的標識符。函數名應該具有描述性,以便開發者能夠理解它的功能。

依照不同程度的英文解釋

  1. The name you use to call a specific action in programming.
  2. The title given to a block of code that does something.
  3. A label for a reusable piece of code.
  4. An identifier for a set of instructions that perform a task.
  5. A keyword that represents a defined set of operations.
  6. A symbolic name that refers to a routine in programming.
  7. A designated identifier that invokes a specific function in code.
  8. A reference name for a callable code block that executes specific tasks.
  9. A nomenclature that uniquely identifies a procedure or method in software development.
  10. A unique identifier used to invoke a specific functionality in programming.

相關英文單字或片語的差別與用法

1:Function name

用法:

在程式設計中,函數名是用來調用特定函數的名稱,通常是由開發者自定義的。函數名應該簡短且具描述性,以便其他開發者能夠理解其用途。

例句及翻譯:

例句 1:

這個函數名應該能清楚表達它的功能。

The function name should clearly express its purpose.

例句 2:

請檢查這個函數名是否符合命名規則。

Please check if this function name follows the naming conventions.

例句 3:

使用有意義的函數名可以提高程式的可讀性。

Using meaningful function names can improve the readability of the code.

2:Method name

用法:

在物件導向程式設計中,方法名是用於調用類別中定義的函數的名稱。方法名通常與類別的功能密切相關,並且遵循特定的命名規則。

例句及翻譯:

例句 1:

這個類別中的方法名應該與其功能一致。

The method names in this class should be consistent with their functionalities.

例句 2:

我們需要為這個方法選擇一個合適的名稱。

We need to choose an appropriate name for this method.

例句 3:

在物件導向編程中,方法名的命名非常重要。

In object-oriented programming, naming method names is very important.

3:Procedure name

用法:

在某些程式語言中,程序名是指用來調用特定程序或過程的名稱,通常用於更傳統的編程範式。

例句及翻譯:

例句 1:

這個程序名應該能清楚地描述它的功能。

The procedure name should clearly describe its function.

例句 2:

我們需要為每個程序選擇合適的程序名。

We need to choose suitable procedure names for each program.

例句 3:

在設計過程中,程序名的選擇是關鍵。

Choosing procedure names is crucial during the design process.

4:Routine name

用法:

例行程序名是用於調用特定例行程序的名稱,通常用於描述一組可重複使用的代碼。

例句及翻譯:

例句 1:

這個例行程序名應該能夠反映其功能。

The routine name should reflect its functionality.

例句 2:

在代碼中使用一致的例行程序名是良好的編碼習慣。

Using consistent routine names in code is a good coding practice.

例句 3:

為這個例行程序選擇一個合適的名稱是很重要的。

Choosing an appropriate name for this routine is important.