<story><title>The Good and the Limitations of Github Copilot</title><url>https://blog.hrithwik.me/the-good-and-the-limitations-of-github-copilot</url></story><parent_chain><item><author>minimaxir</author><text>A fun issue I keep hitting with Github Copilot in Python is that it&amp;#x27;s a coin flip whether it will give me a Python 3-style print statement or a Python 2.7 style print statement.</text></item></parent_chain><comment><author>mdaniel</author><text>Given that no one should be _actively_ writing 2.7 code, and that GH is trying to monetize this, I would think they could retrain the main model that excludes 2.7 code, and then allow people who need 2.7 to &amp;quot;pay for supporting 2.7&amp;quot; just like I&amp;#x27;m guessing folks stuck on old platforms always do&lt;p&gt;You raise a fascinating point about older platforms of other languages, too; Java has a super backward compat story, but woe be unto the coder who tries to name a variable &amp;quot;enum&amp;quot; nowadays</text></comment>
<story><title>The Good and the Limitations of Github Copilot</title><url>https://blog.hrithwik.me/the-good-and-the-limitations-of-github-copilot</url></story><parent_chain><item><author>minimaxir</author><text>A fun issue I keep hitting with Github Copilot in Python is that it&amp;#x27;s a coin flip whether it will give me a Python 3-style print statement or a Python 2.7 style print statement.</text></item></parent_chain><comment><author>kzrdude</author><text>This seems to be another side of the problem that it gives code that doesn&amp;#x27;t actually compile for the target language. They should have a check for that, that should be the baseline.&lt;p&gt;For me, it sounds like it&amp;#x27;s closer to dumb copy paste than a smart code generator. AlphaZero wouldn&amp;#x27;t play a chess move that was against the rules.</text></comment>