A section of code that represents a command or action. So far, the statements we have seen are assignments and print statements.
声明:一组表示一种命令或者动作的代码,目前我们了解的只有赋值语句和打印语句。
I added statements to print to standard out, but why not use a more sophisticated logging mechanism to keep track of which files have been uploaded and when?
我增加了打印到标准输出的语句,但是为什么不采用一个更加成熟的日志机制来记录文件上载的时间和地点?
He was recently given the charge to update a twenty-year-old set of programs that aggregate and print out thousands of statements and checks. Here's his story.
他最近负责更新一套已使用20年的程序,合计并打印出成千上万份报表和帐单,以下是他的故事。
The org.perf4j.LoggingStopWatch class is used to add timing statements to code and print those statements to an output stream or log file.
LoggingStopWatch类用于在代码中添加计时语句并打印到标准输出或者日志文件中。
Note that this is a simple script, and is shown as an example in using print statements to debug.
但请注意这是一个非常简单的脚本,只是作为使用print语句进行调试而展示的一个例子而已。
In those days, we were lucky to get a basic profiler to run, and as far as looking at performance under load, a JVM thread dump or print statements in the application was the only recourse.
在那些日子,我们很幸运的获得一个基础的评测器(profiler),至于查看负载性能,应用程序中的JV m线程堆和打印语句是仅有的资源。
Batches of SQL statements are separated by the go command, and scripts can also use the print command to write messages from the script.
sql语句批处理由go命令进行分隔,而且脚本也可以使用print命令在脚本中书写消息。
This minimizes the need for print/logging statements inside the code which can be time consuming and error-prone.
这降低了在代码中添加print/logging语句的需求,这个工作很耗时且容易出错。
Adding print statements at the beginning and end of a function can help make the flow of execution more visible.
在函数的开头结尾添加输出语句,能够确保整个执行流程更加可视化。
Instead of fine print that hides the truth, we need credit card forms and statements that have plain language in plain sight.
我们需要信用卡的形式和其说明能用简明的文字并一览无遗,而不是把真相藏在难懂的条文之后。
Execute SQL statements and print statistics, or measure activity caused by other processes.
mk - query - profiler执行SQL语句并打印统计信息,或者评估其他进程的活动。
Print out all your statements. Analyze spending by categories. See what you planned to spend, and what you actually spent.
列印出所有的帐单,分类进行分析,看你计划怎么花钱,最后钱是怎么花出去的。
Print out all your statements. Analyze spending by categories. See what you planned to spend, and what you actually spent.
列印出所有的帐单,分类进行分析,看你计划怎么花钱,最后钱是怎么花出去的。
应用推荐