In this chat on github I found:
A. I made some changes. Please review.
B. Awesome, thanks!
A. Why yes, of course
What A means in his last sentence?
In general, is "why yes" a stronger "yes"?
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIn this chat on github I found:
A. I made some changes. Please review.
B. Awesome, thanks!
A. Why yes, of course
What A means in his last sentence?
In general, is "why yes" a stronger "yes"?
Why here is an interjection, placed at the beginning of a sentence to express surprise:
Is it nine o'clock already? Why, I must have fallen asleep!
or opposition:
Are you suggesting he stole the money? Why, I think that's impossible.
or in you example, emphasis:
B. Awesome, thanks!
A. Why [would you think it would be any less than awesome?], yes of course.
or perhaps
A. Why [would I even need to be thanked for something I'm happy to do], yes, of course.
Don't take the bracketed words as a literal ellipsis. The why is there to express a general emphatic tone.
The OED finds the interjectory use of why going back five hundred years.
I speak Persian. And in Persian, we use the word why by itself as a synonym for yes in some situations, usually for emphasis. As the answer above suggested, it probably is the shortened form of "why not?" in both languages.
The statement above, "Why yes, of course," seems practically redundant. "Why yes" seems to me (yes, I know, no sources) to mean "why would I have it any other way" or "why would I want to do otherwise." And that seems very close to the meaning of "of course" in the sentence -- the etymology of which I do not know but would suspect to mean "of the course I would expect" or "of the natural or defined or common course." So the meanings of the two phrases seem very close.