How do you decide how good a program is?

If it's full of bugs, it's not good. Other than that, it's highly subjective. A game is good if it's fun enough that enough people buy it that it was worth...