Defensive programming constructs have prevented many a defect, but the constructs themselves tend to litter code with repetitive logic.
防御性编程结构阻止了一个又一个缺陷,但这些结构本身却不免为代码添加了重复的逻辑。
Specifying this constraint through annotations means I no longer need to litter my code with repetitive conditionals that check for null and throw an exception on finding it.
通过标注指定这个约束条件意味着我的代码不再会被重复的条件弄得乱七八糟,这些条件检查null 值,并且一旦找到该值就会抛出异常。
Pioneered in New Zealand ten years ago, Zero Waste is a radical but simple approach to litter.
“零废弃物行动”10年前兴起于新西兰,是一个简单但能从根本上解决垃圾问题的方法。
这母猪要下崽儿了。
这母猪要下崽儿了。
A reference to litter, I think of a story.
一提到乱扔垃圾,我就想起了一个故事。
The public are (is )requested not to litter .
请公众不要乱扔废弃物。
We must be careful not to litter the park with bottles and cans.
我们不要把瓶子罐子扔在公园里。
His team looked at everything from tree cover to litter to the presence of garden hoses.
他的团队查看了所有细节,包括林木植被、垃圾和花园的浇水管。
For example, people who park in a clean public garage are significantly less likely to litter than if they park in the same garage on a day when it is dirty with litter.
举个例子,如果人们停车的车库很干净,那么他们扔垃圾的可能性较之在那些有很多垃圾的车库要小得多。
For example, people who park in a clean public garage are significantly less likely to litter than if they park in the same garage on a day when it is dirty with litter.
举个例子,如果人们停车的车库很干净,那么他们扔垃圾的可能性较之在那些有很多垃圾的车库要小得多。
应用推荐