<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@mcc" class="u-url mention">@<span>mcc</span></a></span> <span class="h-card" translate="no"><a href="https://digipres.club/@foone" class="u-url mention">@<span>foone</span></a></span> <br />Nice!</p><p>That hard-coded `int` type is bugging me, though</p><p>For one thing, `yall += 4` should also increment float, Decimal and Fraction variables, as well as third-party types like NumPy arrays and ORM proxy objects</p><p>There&#39;s also no reason to disallow `yall += &quot;!&quot;` or `yall += [4]`</p><p>I don&#39;t know how to design it better, though. Maybe increment all variables regardless of type, possibly excluding `self`? Not sure</p>
Reply