While it may be more lucrative to be a consultant, it may be harder for people to get into that career. I am not a consultant, so my experience is limited, but it seems that its all about having contacts and being good. If it's your first programming job, you may have neither the skills nor the contacts to be a successful consultant.