What time do you prefer going to bed?
What time do you prefer to go to bed?
Which of these would you rather use when writing or speaking?
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.Sign up to join this community
Learners of English have been constantly asking this type of questions that revolves around two important titles of English Grammar - Gerund and Infinitive. In this answer I am not going to explain what is Gerund and what is Infinitive (you can easily find a lot of references regarding these tow titles in Google or in any text books). Rather, I will focus on other aspects related to Gerund and Infinitive.
What time do you prefer going to bed (The verb prefer takes a gerund)
What time do you prefer to go to bed (The verb prefer takes an infinitive)
I want to play basketball after my school is over (The verb want takes an infinitive)
I enjoy playing guitar (The verb enjoy takes a gerund)
In English there are certain verbs that takes only gerund (like enjoy), some verbs that take only infinitive (like want), and some verbs that take both. So you have to learn which verb takes what form of verb.
But for a learner, the trouble doesn't end there. Now a new problem arises and it is related to those verbs that take both gerund and infinitive. Why? Consider the following examples (In these examples the verbs can take both gerund and infinitive) -
He stopped to have his lunch.
He stopped having lunch.
He started to play cricket.
He started playing cricket.
In those examples both stop and start take both form of the verb. While sentence #7 and sentence #8 are similar in meaning, sentence #5 and sentence #6 aren't. Sentence #5 says He stopped in order to have his lunch, while sentence #6 says He stopped while taking his lunch. So the problem for the learners with those verbs that take both gerund and infinitive is to again study and learn which form convey what meaning and when the two form convey similar meaning.
For that there is no set rules that I am aware of, you have to study a lot and observe. If anyone know any rules regarding this please let us all know. Thank you.
And @nima, as for your question - "As a native speaker, which one and when or where would your rather write or say?" - what I can say is that when the verb can take both gerund and infinitive, and when they both mean the same, the choice is up to the speaker; it's completely speaker's preference, mainly governed by regional influence, or personal choices. That's all I can say :)