views:

26

answers:

0

I am making a Ruby script for converting video files. The class responsible for the conversion has a 'status' method which returns a value indicating whether the conversion has not yet started, is running, has finished or an error has occurred.

I have come up with the following status names:

  • idle
  • running
  • finished
  • error

My question: is there a standard or better naming convention for a process status? Or do you have your own naming convention which you think is good and would like to share?