Centralize control flow : Keep switch or if statements in the main parent function, and move non-branching logic to helper functions. Let the parent function manage state, using helpers to calculate changes without directly applying them. Keep leaf functions pure and focused on specific computations. This divides responsibility: one function
Studies have shown promise in treating Alzheimer’s and Parkinson’s with GLP-1 drugs, perhaps by regulating insulin levels and reducing inflammation, and the drugs may yet prove useful in treating many other conditions made worse by chronic inflammation. Some studies have found large decreases in the risk of depression and anxiety; others found... See more
For me, my anxiety and emotional state improved when I realized I got a lot of joy and contentment from the _process_ of learning new things, and trying to gauge my improvement always meant comparing myself to others.
If you’re lucky, you will have many challenging moments in your career. Moments when you only understand a portion of the problem in front of you, when you know you’ll have to try a few things to see what works, when you aren’t fully confident that you can do the job. We’re lucky to have these moments because that’s how we grow. By pushing outside... See more
At some point you will discover the Right Way to program, the thing which makes this all make sense , and you'll be convinced that the whole field would be so much better off if everybody else programmed the Right Way, too. For me the Right Way was test-driven development; for you it might be functional programming, lisp, formal methods or one of a
, “Almost the only position of spiritual dignity left to men, therefore, is a kind of stoic silence, made bearable by the amusement of seeing, hearing, and knowing the full historical irony that its victims are blind and deaf to, and disciplined by the act of withholding comment on what we know.”
Tl;dr: I think personal knowledge management, in many cases, is a fruitless effort and there are generally only very few cases (see above) in which note taking actually makes sense.
That people show off these illegible globs in public only makes sense from a signaling perspective: They are saying, “look at how many nodes I have in my brain, amazing nodes, I have so many nodes that a peon such as yourself can’t even guess what’s going on here!”