Re:GitHub Copilot available for JetBrains and Neovim
by sireat on Thursday October 28, 2021 @12:02PM
(#29027608)
UPDATE: The above howlers were in IntelliJ...
However in Visual Studio Code on a different computer, I got much better idiomatic suggestions.
such as
def is_palindrome(word):
return word == word[::-1]
Very puzzling.
Just tried something really simple: def is_palindrome
Copilot suggestion was
facepalmSo good for technically correct solution but still...
This is an anti-pattern I think in pretty much any language that I know of and something that about half of my beginning students try when they learn about branching..
UPDATE: more howlers along the same vein