There can be no side effects on immutable objects, and caching a reference to an immutable object is always safe from alias problems.
不可变对象上没有副作用,并且缓存不可变对象的引用总是安全的,不会出现别名问题。
Note that the method of the form is GET because performing a search has no side effects, and so GET is safe here.
请注意,该表单的方法是GET,这是因为执行搜索没有副作用,所以GET在这里是安全的。
And no matter how safe they are, all drugs have some unwanted or unintended side effects.
而且不过看起来安全性多高,所有药物都有潜在的副作用。
应用推荐