Nobody actually said "position", but that's important. Both absolute and relative position. In early position, you are more likely to get somebody to bet after you check. In late position, it's better to bet out, because people may think you are just betting your position without cards.
Perhaps more important is relative position, meaning where are in relation to the person who bet. If you are early behind the bettor, you may make more money simply calling, and hoping others behind you call. If you're late behind the bettor, then a raise makes more sense.