Today I was reviewing some code on GitHub, and end up with the following sentence/question:
So, are you using a context to update a record? That makes no sense.
I know that verbs and subjects are “swapped” when used in questions. What about affirmations with a question tone? Should it be written like this?
So, you are using a context to update a record? That makes no sense.
Answer
Yes, the way you have it written is correct.
I do not know the word for this form, but as @sxpmaths said, it carries an implication of rebuke, or incredulity. You could make it more explicit with a tag, for example:
So, you are using a context to update a record, are you?
Attribution
Source : Link , Question Author : Wikiti , Answer Author : JeffSahol