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]

Examples:

  • 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!, Smartphone OS, Windows. Contrassegna il permalink.

Lascia un Commento/Leave a comment

Questo sito utilizza Akismet per ridurre lo spam. Scopri come vengono elaborati i dati derivati dai commenti.