grammar - 'How to' vs. 'How do I'


This question is inspired by comments on a question on Stack Overflow. The original poster wrote:



How to correct this error?



And comments say that it's an incorrect question. Better is



How do I correct this error?



I am not a native English speaker, so the fact that both versions sound natural to me is quite irrelevant. But I would like to ask anyway whether the first version is really bad.


I have seen a lot of questions starting with How to, so if you say that the first version is incorrect, could you please summarize when it is OK to use How to and when it is preferable to say How do I.



Answer



In the original context, how to correct this error was intended as a question, but this is not a standard way to ask a question. It isn't a sentence, nor is it an interrogative, and it shouldn't have a question mark at the end of it. It's a content clause, or what is misleadingly called a "noun clause." Content clauses of this type would typically be used in contexts like:



  • I wonder how to correct this error.

  • There's no information on how to correct this error.

  • How to correct this error will be the focus of my talk.


Content clauses like this are also often used by themselves as headings and occasionally by people musing to themselves (e.g., "hmmm... how to solve this...").


Comments

Popular posts from this blog

commas - Does this sentence have too many subjunctives?

verbs - "Baby is creeping" vs. "baby is crawling" in AmE

time - English notation for hour, minutes and seconds

etymology - Origin of "s--t eating grin"

grammatical number - Use of lone apostrophe for plural?

etymology - Where does the phrase "doctored" originate?

single word requests - What do you call hypothetical inhabitants living on the Moon?