本文主要是介绍attribute,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
attribute和property做属性、特质、性质解时算同义词。To be fair though, in Computer Science these two words, at least for the most part, can be used interchangeably - but then again programmers usually don't hold degrees in English Literature and do not write or care much about grammar books :-) [link]
牛津/LDOCE/柯林斯:
- What attributes should a good manager possess?
- Cruelty is a normal attribute of human behavior.
- Her greatest attribute was her kindness.
- Certain plants have healing properties.
- Paraffin [石蜡] has the property of dissolving grease.
- A radio signal has both electrical and magnetic properties.
不同用法:
- The sceptre [权杖] is an attribute of kingly power. [象征]
- Real property/estate is property in the form of land and buildings, rather than personal possessions.
- Intellectual property is something which someone has invented or has the right to make or sell, especially something that cannot legally be copied by other people.
这篇关于attribute的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!