system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How the heck is this sentence grammatically correct? "James while John had had had had had had had had had had had a better effect on the teacher"
gpt
That's missing the punctuation to make it acceptable. The sentence is:

>James, while John had had "had", had had "had had"; "had had" had had a better effect on the teacher.

In other words, James and John were debating whether "had" or "had had" was proper, and the teacher agreed with "had had".