2
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@tintvrtkovic" class="u-url mention">@<span>tintvrtkovic</span></a></span> Nah, it&#39;s not too hard to type:</p><p>type LOL = LOL</p><p>class ROTFL:<br /> def __getitem__(self, index: LOL) -&gt; 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&#39;re right, indexing isn&#39;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 &quot;portent.&quot;</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 &quot;portent.&quot; Instead of saying something like &quot;the expression inside the brackets&quot;, I&#39;d say &quot;the expression inside the portent.&quot;</p>
<p><span class="h-card" translate="no"><a href="https://chaos.social/@Nabla" class="u-url mention">@<span>Nabla</span></a></span> neovim would have to use the CXXRTL protocol <a href="https://cxxrtl.org/protocol.html" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">cxxrtl.org/protocol.html</span><span class="invisible"></span></a> directly</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> thanks. If I have some time i might give it a look. Or try and glue it to neovim. Thanks in any case for the work. Looking forward to seeing it getting better over time</p>