When I started working in python, I got lazy with “single assignment”, and I need to nudge myself about it. You should strive to never reassign or update a variable outside of true iterative calculations in loops. Having all the intermediate calculations still available is helpful in the debugger, and it avoids problems where you move a block of code and it silently uses a version of the variable that wasn’t what it originally had. In C/C++, making almost every variable const at initialization is good practice. I wish it was the default, and mutable was a keyword.
Replying to @ID_AA_Carmack
Am I the only person that reads this and thinks, "your methods are probably way too big"?

Oct 29, 2025 · 9:31 PM UTC

6
5
I'm thinking your functions are probably way too short and they're probably all methods, which is also concerning.
3
The part where he talks about moving a block of code, apparently within a single function or it wouldn't have had access to locals he'd think should still have the same meaning as before the move, seems to agree with you
1
Replying to @Whyborg_v1
He’s talked about that in the past too I think. I believe @ID_AA_Carmack doesn’t shy away from functions that others might deem too long but I might be wrong. It can sometimes be harder to have to jump around to different functions to understand what’s happening etc.
"Debt crisis" (2025, 80 x 100 cm) This painting is about the debt crisis in the US and the coming devaluation of the dollar. People all over the world, both poor and rich, will lose their savings. This is the inevitable consequence of the US leftist economic policy. When the king runs out of money, he takes it from his vassals.