state与status的区别

status 指人时暗指相对的地位,指物时相当于 situation。situation 较狭义地指由环境综合决定的特定时间上的状态或情形。 

state 人或物存在或所处的状态,和 condition 大体上可以互换使用。condition 指一定的原因/条件或环境所产生的特定情况。

以 Recordset 为例

Recordset 具有 Status 和 State 属性,说明二者还是有区别的。

Recordset.Status 表示进行批处理后,当前记录的情况。结果有:操作被取消,结果未被保存;记录被锁无法保存……。

Recordset.State 表示 Recordset 对象是打开的,还是关闭的,还是正在执行异步操作。

再举例子

最近的国际形式如何?status。

水在标准大气压下 100 摄氏度时是什么状态?state。

http://stackoverflow.com/questions/1162816/naming-conventions-state-versus-status

It depends on the context

State generally refers to the entire state of an entity - all its values and relationships at a particular point in time (usually, current)

Status is more of a time-point, say, where something is at in a process or workflow - is it dirty (therefore requiring saving), is it complete, is it pending input, etc

这取决于使用环境。 State一般囊括了一个实体的所有状态。 Status更像是一个时间点,比如在一个流程中,这个对象是dirty、complete或者pending input等等。

 

http://english.stackexchange.com/questions/12958/status-vs-state

 

Can anyone explain what the difference between status and state is when I talk about the condition or situation of an object?

Here's what I got from Longman English Dictionary.

status: a situation at a particular time, especially in an argument, discussion etc.

state: the physical or mental condition that someone or something is in

or example, how do you interpret these two sentences: 

What is the current status of this project? 

What is the current state of this project?

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值