📄 onmethods.txt
字号:
Methods (Functions)
Here are some of the reasons methods are useful:
. By giving a name to a sequence of statements, you make your program easier to read and debug.
. Dividing a long program into methods allows you to separate parts of the program, debug them in isolation, and then compose them into a whole.
. Methods facilitate both recursion and iteration.
. Well-designed methods are often useful for many programs. Once you write and debug one, you can reuse it.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -