this post was submitted on 20 Oct 2023
176 points (98.9% liked)
ADHD memes
8335 readers
654 users here now
ADHD Memes
The lighter side of ADHD
Rules
Other ND communities
- ADHD - Generic discussion
- Ausome Memes
- Autism
- AuDHD
- Neurodivergence
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Solve it with function currying!
https://en.m.wikipedia.org/wiki/Currying
In some programming languages functions can only technically take a single argument... so a multi argument function like
f(a,b,c)
is turned into a function likef(a)(b)(c)
wheref(a)
returns a functiong()
which can take argumentb
which will then return a functionh()
that takes argumentc
then that function will return the actual expected result.Stop thinking about tasks as taking twelve steps, think about them of having two - do the first thing then, once that is done, think about how you'll do the next eleven, then do the next thing, then think about how to do the next ten etc...
In my day job I often work on really large and complex problems, I approach them by scoping them down to small solvable problems so I don't spiral off into analysis paralysis.