Whole-known-network
<p>i wanna melt more magnesium... but i'm too tired to do it... such is the torture of my earthly existence</p>
<p><span class="h-card" translate="no"><a href="https://social.noyu.me/@hikari" class="u-url mention">@<span>hikari</span></a></span> it's still hecking wild that you've actually done that. huge respect, this is the sort of action that visibly changes the world</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@tintvrtkovic" class="u-url mention">@<span>tintvrtkovic</span></a></span> Nah, it's not too hard to type:</p><p>type LOL = LOL</p><p>class ROTFL:<br /> def __getitem__(self, index: LOL) -> LOL:<br /> ...</p>
<p><span class="h-card" translate="no"><a href="https://chaos.social/@Nabla" class="u-url mention">@<span>Nabla</span></a></span> do you want to test the VS Code version?</p>
<p><span class="h-card" translate="no"><a href="https://chaos.social/@gregdavill" class="u-url mention">@<span>gregdavill</span></a></span> do you want to beta test it?</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> you're right, indexing isn't type safe</p><p>*hides*</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> Interesting take. What do you consider smelly about them?</p>
<p>Also, I just like the word "portent."</p>
<p>I think my new stance is that all use of [...] is now a code smell. Indexing, slicing, typing, generics, comprehending, whatever. If you see an opening [, you just know that it portends something to follow. </p><p>Actually, I should start referring to [ ] as a "portent." Instead of saying something like "the expression inside the brackets", I'd say "the expression inside the portent."</p>