people often ask me what my secret to having constant migraines is, and i'm sorry to tell you all that it's just a unique gift of mine, i can't teach you how to migraine this well, or often
@evan@mfowler There's some kinks in the implementation (it only recognizes follows per-network) but it is mostly solid for an early protocol bridge. I repost some of my stuff on bsky here and there.
The "genius" move is to architect your code in such a way that the number of places where a variable might be nil is extremely low. The "genius" move is to consider using patterns like "null object" if you really do need to be explicit about something not being real.
So much of programming is like this: We build up libraries of patterns to manage and sanitize problems rather than lifting our point of view and removing the problems.
I should clarify: when I talk about documentation here I'm not talking about code comment style docs - I'm talking about "this is how to use this library / API" docs
If your code is clearly written and nothing else ever needs to call it then I don't particularly mind if there's no additional documentation - but if I'm expected to use call your library from my own code I'm very much not keen on being told I have to read all of that code myself just to use it!
Oh shit I added a whole new mechanism to my framework (which I'd worried I'd made too overwrought to extend) after 2 months of working in the codebase and it took me 15 minutes! thanks past me & #rustlang
@moonsea no joke, the early generated art was so much more interesting exactly because it was so goddamn weird. it was like looking into an insane world where physics held no meaning.
@sarajw It bugs me how every time I run into this genre of problem I have to go on a fantastic journey of rediscovery on how element positioning works! I never ever retain this stuff
@moonsea Don’t be discouraged by this shit! I was for a long time but I found out over time that it’s all elaborate jargon and the jargon is harder to understand than the actual thing it describes.
Pointers are like symlinks but to an actual memory address, so you can reuse memory more easily.
Types are notes that you can add to code which makes it impossible (or at least harder) to write a bunch of kinds of bugs.
As my colleagues once said to me, "There's no excuse for you."Programmer, illustrator, designer, consultant, tabletop game homebrewer, elder millennial.#rust, #react, #ui, #systems, #tabletop, #ttrpg, #illustration, #design, #software, #writing