From all the reading I have done on this type of topic here, the general advice is that its "best" not to use an extension cord, since it provides another place where a junction is made and can fail. The advice normally continues that, IF one is going to use an extension cord, you MUST ensure it is one suitable for carrying the load you plan to put on it.
In other words, if you are putting in a 14-50 outlet, you are not going to run down to lowes / home depot / your local big box center, and pick up a cheap extension cord that will be suitable for carrying that connection. You would also need to ensure that the cord is long enough to keep it out of the way, so that no one ever drives over it, trips on it, etc, especially when its under load charging your car.
Its not a great idea in general, to use an extension cord, but would work in a pinch. If you are already paying someone to put in a 14-50 it would not be a great idea to PLAN to have to use an extension cord to make it work. Just have them put the outlet where it needs to be so that you dont have to do the extension cord. If you are doing it yourself, still consider just putting it in the right place to begin with, and plan to hire someone to do the drywall work later. Drywall work isnt that expensive (relatively) here in california, and I am sure it cost less in texas than cali, so much better to do it "right" than PLAN to "jury rig it" right from the start.