State or status?

Too often, in programming, the two terms status or state are used indifferently.
I did some search on Internet and I found this answer that I consider reasonable … anyway you can comment on it   😉

status == how are you? [es. good/bad]

state == what are you doing? [es. resting/working]


  • cpu state
  • thread state
  • state machine
  • return status
  • raid volume status
  • application status
  • account status

In some other places I found also this futher consideration, that can be useful: State is one of the conditions that an entity can have, Status is the actual condition assumed by an entity at the request time.

Informazioni su Enzo Contini

Electronic engineer
Questa voce è stata pubblicata in Just for fun!, SqLite, Windows, Windows Phone/Mobile. Contrassegna il permalink.

Lascia un Commento/Leave a comment

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:


Stai commentando usando il tuo account Chiudi sessione /  Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...

This site uses Akismet to reduce spam. Learn how your comment data is processed.