News for hackers. Stuff that matters.
Re:Why is it so hard to see code from 5 minutes ago? by stephc_int13 on Thursday February 18, 2021 @09:14PM (#26188708)
Yes, and I've always believed that short-term memory is a very important mental training for a coder.
Re:Why is it so hard to see code from 5 minutes ago? by blunte on Thursday February 18, 2021 @09:26PM (#26188803)
My short term memory is much reduced compared to my younger self. Consequently, I work in ways which allow me to reduce cognitive load and still accomplish the task. FP is a godsend for me, even if I just adopt some of its principles.
Re:Why is it so hard to see code from 5 minutes ago? by kortex on Thursday February 18, 2021 @10:35PM (#26189347)
Likewise. I have ADHD and even with treatment, I feel more like a GPU than CPU. Small functions, lots of static typing, IDE for autocomplete, and lots of FP style patterns.

When I get thrown into an un-typed python codebase, my productivity grinds to a crawl, and I start having to do things like have a scratch pad with various versions to copy paste.