First, this lets you have local variables whereas otherwise the local variables in the main() function would have to become global variables. Limiting the number of global variables is a good way to keep the code simple and easier to debug
whereas otherwise而其他
首先,这可以让你有局部变量而否则本地变量在main()函数将不得不成为全局变量。限制数量的全局变量是一个好方法可以保持代码简单和容易调试。whereas otherwise的意思是而否则
首先,这让你有局部变量而否则局部变量在main()功能将成为全球变量。限制了一些全局变量是一个很好的方式保持代码的简单,易于调试