Thus, if you find yourself rewriting the same lines of code over and over, you place the code in a subroutine or function, or build a library of routines that you can use in many programs.

 
  • 那么,如果你发现自己再三地重写相同的代码,你就可以把这些代码设计成子程序或是函数,亦或者是在程序中建立一个程序库使用。
今日热词
目录 附录 查词历史