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?

时间: 2024-10-04 02:59:16

state与status的区别的相关文章

关于state和status的粗浅研究

牛津高阶词汇的解释 state: CONDITION OF SB/STH  状态:the mental,emotional or physical condition that a person or thing is in. 举了几个例子:a confused state of mind 思绪纷乱, a bad state of repair 年久失修, a state of shock 震惊 , not in a fit state to drive ,状态不好不宜开车 status: th

A Bite Of React(2) Component, Props and State

component component:用户自己定义的元素 const element = <Welcome name="Sara" />; class Welcome extends React.Component { render() { return <h1>Hello, {this.props.name}</h1>; } } 遇到自己定义的component Welcom,React会将它的属性(name)作为对象传递给组建Welcom,即{

原生 JavaScript 实现 state 状态管理系统

原生 JavaScript 实现 state 状态管理系统 Build a state management system with vanilla JavaScript | CSS-Tricks 在软件工程中,状态管理已经不是什么新鲜概念,但是在 JavaScript 语言中比较流行的框架都在使用相关概念.传统意义上,我们会保持 DOM 本身的状态甚至声明该状态为全局变量.不过现在,我们有很多状态管理的宠儿供我们选择.比如 Redux,MobX 以及 Vuex,使得跨组件的状态管理更为方便.这

React中的State与Props

一.State 1.什么是 state 一个组件的显示形态可以由数据状态和外部参数决定,其中,数据状态为 state,外部参数为 props 2.state 的使用 组件初始化时,通过 this.state 给组件设置一个初始的 state,在第一次 render 时就会用这个数据渲染组件 class ItemList extends React.Component { constructor() { super(); this.state = { data: '123' }; } render

react之state&amp;生命周期

在元素渲染章节中,我们了解了一种更新UI界面的方法,通过调用ReactDOM.render()修改我们想要的 元素 import ReactDOM from 'react-dom' class ClockCom extends React.Component{ render(){ return( <div> <h1>this clock component</h1> <h2>It is {this.props.time.toLocaleTimeString(

openstack vm_lifecycle

nova instance状态:power_state, vm_state, task_state 2015-09-22 Openstack 185 nova instance有3种状态:power_state, vm_state, task_state,分别对应horizon界面上的Power State,Status,Task Openstack wiki上有介绍: power_state is the hypervisor state, loaded "bottom-up" fr

相克军_Oracle体系_随堂笔记005-Database buffer cache

本章主要阐述SGA中的Database buffer cache. Buffer cache { 1.pin (读写瞬间的状态) 2.clean 3.dirty 4.unused } --Database buffer cache 概述: 1.段.区.块的概念: create table t2 ( id int, name varchar2(30) ); 建立一个表,同时建立一个段, 建立段的同时,会给段分配一个区, 区是物理上连续的几个块. 区是oracle给段分配的最小单位. 块是oracl

RFC2474 - Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers的双语版

RFC2474 - Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers英文版 来源:http://www.hackhome.com/InfoView/127892_full.html Network Working Group K. NicholsRequest for Comments: 2474 Cisco SystemsObsoletes: 1455, 1349 S.

URI, URL, and URN

URI, URL, and URN A URI can be further classified as a locator, a name, or both. The term "Uniform Resource Locator" (URL) refers to the subset of URIs that, in addition to identifying a resource, provide a means of locating the resource by desc