単語 subroutine の日本語での意味

subroutine は英語で何を意味しますか?Lingolandと一緒にこの単語の意味、発音、具体的な使い方を学びましょう

subroutine

US /ˈsʌb.ruː.tiːn/
UK /ˈsʌbruːˌtiːn/

名詞

サブルーチン, 副プログラム

a sequence of instructions within a larger program that performs a specific task, often used multiple times within the program or by other programs

例:
The main program calls a subroutine to handle data validation.
メインプログラムはデータ検証を処理するためにサブルーチンを呼び出す。
Writing modular code with subroutines improves readability and reusability.
サブルーチンを使ったモジュール化されたコードを書くことで、可読性と再利用性が向上する。