Hacker News new | ask | show | jobs
by kortex 1850 days ago
This is why I say my ADHD has made me a better programmer. I can't mentally simulate more than the most basic state interactions. I have to write code that my rainy-Monday-morning, pre-meds, pre-coffee brain can reason about. And I see that as a win/win. It means someone foreign to the codebase has to put less thought into reasoning about it. My brain handles big picture thinking super well, but I can keep about 1.5 pieces of state in my working memory.

I love my IDE. I love interfaces, type systems, and static checks. ADHD pretty much forced me into a very functional programming style, because mutation is so more to think about.

Conversely, some of the most inscrutable and buggy code I've written was when my meds were a tad high and I could easily reason about really complex interactions.