Side effects are lies. Your function promises to do one thing, but it also does other hidden things.
副作用其实就是说谎,你的函数本来要做一件事,但是却偷偷做了其他的事。
On the positive side, the container's function reduces the number of issues to be considered when writing business logic.
从积极的方面看,容器的功能减少了编写业务逻辑时要考虑的问题数量。
It is common in software for developers to write code that depends on some undocumented behaviour of a function, such as expecting an undocumented side effect to occur.
在软件开发中,开发人员编写的代码通常取决于某个函数的未归档的行为,例如期望发生某个未归档的附作用。
Server side encoding is a process where all dynamic content will go through an encoding function where scripting tags will be replaced with codes in the chosen character set.
服务器端的编码是一个过程,其中所有动态内容都将经过一个编码函数,这时,脚本编制标记将被替代为所选择的字符集中的代码。
A function that converts a timestamp from one locale to another could prove to be a staple in the transformation side commonly found in the ETL process of a data warehouse project.
在数据仓库项目的ETL过程中,将时间戳从一个地区转换为另一个地区的函数被证明是转换方面的主力。
Figure 7 shows the query response times as a function of the number of documents in the table, ranging from 1,000 to 100,000 documents (when no indexes or side tables are used).
图7显示查询响应时间作为表中文档数(范围从1,000到100,000)的函数(不使用索引或索引表)。
The server side methods' actual function or code is never exposed to the client side.
服务器端方法的实际函数或代码绝不公开给客户端。
This led us to add things like shortcuts to bring up the search box next to the current bubble to easily open a new function side-by-side, go to definition, etc.
我们添加了很多类似快捷键的功能,如基于当前气泡的位置弹出搜索框以方便打开新函数,查找定义,等等。
The swinging function flips the entire device 90 degrees on its side so the user can sit on the floor whilst using it.
整台机器的翻转功能能使其翻转90度,供用户坐在地板上使用。
This side file is really a file that holds binder instructions telling it the module it needs to call a function.
这个副文件实际上包含绑定器指令,它告诉绑定器需要使用哪个模块调用函数。
The human body is a machine that has a bunch of functions, and it accumulates various types of damage as a side effect of the normal function of the machine.
人体是一个行使着多种功能的机器,它积累着各种各样妨碍机器正常功能的伤害。
But let me just tell you immediately to the side, which side it's pointing to it's always pointing towards higher values of a function OK, and we'll see in that maybe about half an hour.
现在我可以告诉你,它总是,指向更大的函数值的方向,可能半个小时后就会知道为何了。
On a side note, in mathematical terms, RAID 1 is an AND function, whereas RAID 0 is an OR.
从一个方面说明,在数学术语上,RAID1是“和”函数,而RAID0是“或”函数。
Later, we? Ll see how the JoinRowSet function performs the same data-combining operation that our database server side JOIN operation did.
之后我们将看到JoinRowSet函数如何执行与数据库服务器端join操作相同的数据组合操作。
The Concat function will concatenate two or more strings from the source into a single string value on the target side.
Concat函数将来自源的两个或多个字符串在目标端连接成一个单一的字符串值。
Just put it through the json_encode function, and it comes out the other side as a json serialized object.
只需将其传入json_encode函数,然后它将从另一端作为json序列化对象传出。
In addition, the signature of the function that must be invoked on the server side is provided as an HTTP header named Ajax-Call.
此外,对于必须在服务器端调用的函数,必须以名为ajax - Call的HTTP头部的形式提供它的签名。
Other structural characteristics (e.g., side strength, roof strength as a function of vehicle weight).
其他结构特性(如,侧体强度,由整车重量计算得到的车顶强度)
At the server side, the transport protocol delivers the message to the server stub, which then unpacks the request message and calls the actual function on the object.
在服务器端,传输协议将消息传送给服务器存根,随后服务器存根解包请求消息并调用对象中真正的函数。
Several basic tests for side effects during that time frame, such as kidney and liver function, did not indicate any harm from the therapy.
在此段时间内还进行了一些基本的副作用测试,比如对肝、肾功能的测试,并没有发现这种治疗方法会有任何损害。
The drugs do have side effects, but patients would much rather have weight gain and elevated lipids so that their brain could function normally.
药物确实有副作用,但是患者宁愿有体重增加和高血脂,也不要他们的大脑工作异常。
If the method on the server-side component has a non-void return value, that value is passed into the callback function as its only argument.
如果服务器端组件上的方法具有非空返回值,该值就会作为其惟一的实参传递进此回调函数。
So for instance, if I plot, as function of the reaction, I've got the reactants on that side here.
比如,如果我作图,作为反应的函数,反应物在这边。
Any function called as a parameter will be called for every time it is listed on the right-hand side.
任何作为参数调用的函数每次都会被列到右边。
On the down side, utilizing this function is somewhat less concise, and considerably less elegant.
不利的一面是,利用这个函数有点不够简练,且相当不灵活。
Now, the ST_LineString constructor is a deterministic function without any side effects.
现在,ST_LineString构造函数是一个没有任何副作用的确定性的函数。
But these studies measured differences in drug levels and platelet function rather than actual side effects in users of the combination therapy.
但是这些研究记录了药物水平和血小板功能的差异,而不是联合治疗的副作用。
Listing 10 shows how the ReverseAjaxTracker responds to coordinate notifications, using them to generate calls to the client-side updateCoordinate function.
清单10展示了ReverseAjaxTracker响应坐标通知的方式,并使用它们生成对客户端updatecoordinate函数的调用。
Query Q5 uses side tables for the predicates, but requires an extract function (with XML parsing) to retrieve the customers email addresses.
QueryQ5对谓词使用索引表,但是需要提取函数(具有XML分析)来检索客户电子邮件地址。
Query Q5 uses side tables for the predicates, but requires an extract function (with XML parsing) to retrieve the customers email addresses.
QueryQ5对谓词使用索引表,但是需要提取函数(具有XML分析)来检索客户电子邮件地址。
应用推荐