DEV Community

Discussion on: Coding with ADHD: How do You do it?

Collapse
 
aidiri profile image
Aidi Rivera

Yes! Instant results definitely help! I think that's why front-end work got me so easily hooked at first since it was so visual and you could actually see what you did. But I hadn't considered that tests do the same thing! Thanks for that insight!

Thread Thread
 
codemouse92 profile image
Jason C. McDonald

On that note, if you're working on less visual code, use test-driven development! And, by TDD, I really mean it: write actual, granular unit tests first, and then code. Seeing the lights turning green as you work gives that same instant, ongoing feedback as web development.