Whole-known-network
<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>
<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>