...些最基本要求: 1、纯代码(pure code):实现函数组合-这点在前面的功能函数组件编程中已经做到 2、无副作用(no-side-effect):尽量把副作用推到程序最外层,拖延到最后-trigger使用了依赖MockAppliance,产生了副作用 3、我经常提醒自己Monadic Programm.
基于4个网页-相关网页
No Side Effect 无不良副作用 ; 无副作用
no side-effect 无副作用
has no side effect 无任何副作用
No Obvious Side Effect 无明显副作用
She says the training module only offers ideas for developing one's spiritual side. It is not mandatory and has no effect on one's career.
她表示这个训练模块只是为个人精神方面的加强提供指导,并不是强制的,对个人职业生涯不会有影响。
A practical side effect is that global declarations must be unique: No two global declarations can use the same element name.
一个实际的副作用是全局声明必须是唯一的:任何两个全局声明都不能有相同的元素名。
The other side effect is that because the invocation of print is done indirectly through reflection, the method must be public (and accept no arguments).
另一个副作用是由于对print的调用是通过反射间接进行的,所以这个方法必须是公共的(并且不接受参数)。
应用推荐