4 ms·
the article glosses over something worth pausing on: the `getattr` trick for dispatching instructions (replacing the big if-elif chain) is actaully a really ele
by blueybingo 6mo ago
the article glosses over something worth pausing on: the `getattr` trick for dispatching instructions (replacing the big if-elif chain) is actaully a really elegant pattern that shows up in a lot of real interpreters and command dispatchers, not just toy ones -- worth studying that bit specifically if you're building anything with extensible command sets.
- johndough 6mo agoAre you a bot? All your recent comments point out a thing in an article and contain LLM-isms.
- bdangubic 6mo agoyou asking a bot if it is a bot? :)
- blueybingo 6mo agohaha no im not a bot, but starting to realise i sound like one. need to be less cynical.
- bdangubic 6mo agoexactly what the bot would say lol :)
- blueybingo 6mo agodamn brain is becoming bot mush
- gbacon 6mo agoYou know that Voight-Kampff test of yours? Did you ever take that test yourself?