His cheek tingled from the slap.
他的脸因挨了耳光而感到火辣辣的。
His cheek tingled from the slap she had given him.
她给他一个耳光令他的脸颊有刺痛之感。
My Christmas present was huge and heavy, indistinguishable under the slap-dash wrapping.
我的圣诞礼物大而笨重,草率的包装让它几乎难以辨认。
We heard the slap and plunge of people in the water.
我们听到人们的击水声和跳水声。
Charlotte was still smarting from the slap.
夏洛蒂还记着那一耳光。
These two lines of code illustrate a violation of the SLAP principle.
这两行代码违反了SLAP 原则。
The SLAP principle aims to make your code easier to read and understand.
SLAP原则的目标是使代码更容易阅读和理解。
In the next installment, I'll discuss refactoring toward design, building on the concepts of composed method and the SLAP principle.
在下期文章中,我将在组合方法和SLAP原则的基础上讨论重构如何推进设计。
It is difficult to read the code when you have to jump mentally between abstraction levels, which is what the SLAP principle tries to avoid.
如果必须在抽象层之间转移,阅读代码会很困难,这正是SLAP原则试图避免的情况。
It is difficult to read the code when you have to jump mentally between abstraction levels, which is what the SLAP principle tries to avoid.
如果必须在抽象层之间转移,阅读代码会很困难,这正是SLAP原则试图避免的情况。
应用推荐