r/ADHD_Programmers • • 6d ago

Does anyone else struggle with writing paragraphs because you think in YAML?

It's a really weird way to describe it, but whenever I have been asked to write an essay for a homework assignment, I've always massively struggled with expanding my correct answer to the question beyond half a sentence or a bullet list. My sister and I like to joke that her teachers struggled to make her write less because she could write a damn book and they struggled to have me write more because I fully answered the question in one sentence and couldn't for the life of me expand it beyond that.

The way I think of problems and solutions is absurdly tightly structured, like a markup language. Essentially, I think in YAML, and I have trouble compiling the YAML into English.

0 Upvotes

11 comments sorted by

5

u/ApprehensiveFan1516 6d ago

0

u/ferriematthew 6d ago

I didn't claim to be very good at describing things either... 😅

0

u/ApprehensiveFan1516 6d ago

I too was once young and dumb.

2

u/xenomachina 6d ago

I'm guessing I'm pretty much the only one here that thinks like that.

No, you aren't the only one who thinks like that. What you've shown is a typical outline for an essay. This is what your English teacher meant when they said to write an outline in "point form".

When I'm writing I'll typically stay in this form as long as possible. I'll iteratively add missing points, expand points, merge points that overlap, and reorganize points so that there's a logical progression.

If you're having trouble making your essay long enough, look at each of your points, and think about the 5 Ws (+H). For example: Why is this point true? How did I arrive at this point? Who is the authority on this?

Keep iterating until your "yaml" is fleshed out enough to write an essay with the expected length and level of detail. Top-level points typically turn into one or occasionally more paragraphs. Sub-points become sentences or parts of sentences within those paragraphs.

For longer-form writing it's generally good to add introduction and conclusion paragraphs. You can think of the intro as a summary of the question being asked with your answer stated briefly, and the conclusion as a summary of why your answer holds.

1

u/ferriematthew 6d ago

Ah, so basically it would be helpful for me to convert my high-level code to an intermediate representation before putting it in actual English.

1

u/xenomachina 6d ago

Yes, that isn't a bad way to think about it. The point form outline is like an intermediate representation of what you want to say, but in a format that's easier to manipulate. Iterate on it in that form (optimization), and then as a final step, turn that into prose (code generation).

1

u/conicalanamorphosis 6d ago • Mindblown

That's where I always start when I write, and I write a fair amount. Then I just build nice sounding sentences around everything. It just takes practice and is helped tremendously if you read a lot. To use your example as a template:

You asked "question". In order to answer that I'm going to assume "assumption 1" and "assumption 2". I am also aware that "constraint" must be respected. In the end, the desired decision is "desired decision".

A bit of a simplistic treatment, but I think it gives the flavour of how I write, which is just what you're doing with extra steps to make people happy. As you practice, you will get better. You can also just build a script that turns your "YAML" starter into something close to English using Markov chains and guesses.

1

u/ferriematthew 6d ago

This sounds promising! I'll try this, thanks!

1

u/khedoros 6d ago

No. Writing school essays to fit a given length is something that I built up over about 10 years of time. You're usually asked to write in a fairly rigid format. It just takes practice. Besides that, you learn how to beef up sentences with filler words and bring up the word count.

Now, having me write a review of a game I liked? I have trouble putting my emotions and subjective impressions into words. It's a different sort of essay. I'm sure I'd get better with practice.

-4

u/ferriematthew 6d ago edited 6d ago

So instead of answering a question in sentences, I think like:

question:
  premise:
    - assumption
    - assumption
    - constraint
  desired decision:

-1

u/ferriematthew 6d ago

I guess I must be the only one here who thinks like that, or maybe it's an autism thing.