So the next day when the duck comes into the pub the barman says, "Hey Mr. Duck, I reckon I can line you up with a top job, paying really good money."
于是第二天,当这只鸭子走进酒馆的时候,酒保说道“嘿,鸭子先生,我估计我能给你介绍个好工作,薪水非常丰厚。”
Bones: I don’t know what that means but I think maybe I can be a duck.
我不明白这话啥意思,不过我能做你的棋子啊。
In the context of programming languages, duck typing means that if an object responds to the methods of a type, then for all practical purposes, you can treat it like that type.
在编程语言的上下文中,ducktyping意味着如果一个对象对于某种类型的方法有反应,那么事实上就可以把它看作那种类型。
The concept behind duck typing, also known as late binding, is pretty simple; if an object responds to all the methods a function is expected to call, that object can be passed to the function.
Ducktyping背后的概念非常简单,就是所谓的迟绑定;如果对象具有某个函数希望调用的所有方法,就可以将这个对象传递给该函数。
Programming languages with features like duck typing can improve flexibility and reduce repetition by forcing fewer type definitions and reducing code needed purely to support a compiler.
具备诸如ducktyping这类特性的编程语言,通过使用更少的类型定义、减少纯粹为了支持编译器所需要的代码数,能够提高灵活性和减少重复。
From the outside, actors can all duck-type the same -- you're always just submitting messages to a mailbox after all.
从外部看,actors同样是多态的——你最终都会把消息提交给一个信箱。
Yang Ming: I know their mother is a duck. A duck can swim. Can ducklings swim?
杨明:我知道它们的妈妈叫鸭子。鸭子会游泳。小鸭子会游泳吗?
Shandong duck fans will join the Ji 'nan Hong Lou Yuko old duck soup fans Museum: the red color of the cool color, join the gorgeous embellishment, immediately can let the store into a cool store.
山东鸭血粉丝加盟,就要济南洪楼优子老鸭粉丝汤馆:以红色色为主的炫酷色彩,加盟绚丽的点缀,立马能让店面变成一家炫酷的店面。
Low pathogenic avian influenza commonly occurs in wild birds and can be found in a number of duck populations including the Northern pintail.
低致病禽流感病毒通常出现于野禽,并且可以在很多鸭类包括北长尾鸭中找到。
From the picture, we can see a mother duck is holding an umbrella to protect her babies from strong sunshine.
从这幅图画中我们可以看到,一位鸭妈妈为了保护鸭宝宝免受强阳光照射,正撑着一把伞。
Wear good shoes, I can't adapt to, stand instability, can only hold the dad, tried to short steps to slide, swing, like a duck awkward is slower than walking.
穿好鞋,我不能适应,站都站不稳,只能扶着爸爸,尝试着小步小步地滑,像鸭子一样笨拙的摇摆着,比走路还要慢。
If you are hungry, you can go to Qibao old street, you can see a lot of kinds of snacks, like ice-sugar, haws, mutton, beef, duck soup with noodle and so on.
假如你饿了,可以去七宝老街。在那儿,你可以看到许许多多种零食,比如:冰糖葫芦、羊肉、牛肉或者老鸭汤面等。
When he goes with his mates to rock festivals, he has been known to wear a duck mask, just so he can walk around freely.
当他跟朋友们一起去音乐节时,他由于戴着一个鸭头面具而闻名,只有那样他才能自由自在地走来走去。
With the wonderful fresh taste of fruit here in Yunnan, putting these with the roast duck is a delight... can you imagine the exotic taste this has in your mouth?
用云南新鲜的水果搭配上烤鸭会很美妙…。你想象得出这道菜在你口中的异国风味吗?
If one wants to live like a duck to water, besides his or her ability, apple-polishing is very important, I hope I can get a handle on it.
如果一个人想混的如鱼得水,除了自身的能力外,拍马屁也很重要,我很希望我自己也可以得到要诀。
Then dip a slice of duck in the sauce and put it on a pancake. Next, put some green Onions on it and roll the pancake. Finally you can eat it.
然后把一块鸭肉在酱里蘸一下,把它放在一张薄片烙饼上,然后放上一颗葱卷起来,最后可以吃了!
You can see that administrative office, salesmen, breeding families and forage shops are laughing at the hanging of a poisonous duck.
你可以看到,行政官、推销员、饲养户、饲料商,在悬挂的毒鸭子前哄笑。
I don't need to be protected. I can use a sword as well as Duck.
我不需要保护,我可以像鸭子一样好的用剑。
"Why everyone hates me, can it be my fault to grow ugly?" The little ugly duck murmured while walked, suddenly a courser scurried out.
“为什么大家都讨厌我,长得丑难道是我得错吗?”丑小鸭边走边说,突然,一直猎狗窜了出来。
The Cherokee legend, commonly known as "the rabbit Goes Duck Hunting," is about a rabbit who is a braggart and a trickster able to persuade other animals that he can back up his boasts.
这个切罗基族传说讲的是一只“想捉鸭子的兔子”。这只爱说大话的兔子总想在其他动物面前表现的能够自圆其说。
When you shut up your eyes , I like a duck in a thunderstorm . I can but stop and wait beside you whisht .
禁闭的双眼让我惊慌失措,我只能停下来静静的在你身边等待。
Time can prove all things, so pls kindly expect the day when the ugly duck changed into a swan.
时间可以证明一切,所以敬请期待丑小鸭变成白天鹅的那一天…
Another new business is like another office, can still look like a duck and was entrusted with a camel doing mischievously reused.
换个新企业犹如换个办公地点,照样能如鱼得水般地干得欢畅并被委以重用。
Thee moment when you flip between duck and rabbit is like a small flash of creative insight. It's when you notice the world can be seen in a different way.
你在鸭兔间切换的瞬间有如灵光乍现,即那一刻你用不同的视角看待世界。
Garlic Puree solution can be greasy, good-duck Zhanzhao Garlic Puree, eating soy sauce, Xianxiang, adding a glimmer of a more spicy Italian, more unique flavor.
蒜泥可以解油腻,将片好的烤鸭蘸着蒜泥、酱油吃,在鲜香之中,更增添了一丝辣意,风味更为独特。
Garlic Puree solution can be greasy, good-duck Zhanzhao Garlic Puree, eating soy sauce, Xianxiang, adding a glimmer of a more spicy Italian, more unique flavor.
蒜泥可以解油腻,将片好的烤鸭蘸着蒜泥、酱油吃,在鲜香之中,更增添了一丝辣意,风味更为独特。
应用推荐