---
title: "Discussion on \"Some Experiments with GitHub Copilot\" | Hashnode"
description: "Discussion on \"Some Experiments with GitHub Copilot\". I recently got my hands the GitHub Copilot extension for VS Code and it's amazing (borderline scary)\nThe examples below are in Python\nFunction to get Pokemon Data\n\n\nWas able to auto-complete my comment as well. Initially I never intended to save it t..."
url: "https://hashnode.com/posts/some-experiments-with-github-copilot/60e284d44f8e376422a7b327"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Some Experiments with GitHub Copilot](https://realpythonproject.hashnode.dev/some-experiments-with-github-copilot?utm_source=hashnode&utm_medium=feed)

I recently got my hands the GitHub Copilot extension for VS Code and it's amazing (borderline scary) The examples below are in Python Function to get Pokemon Data Was able to auto-complete my comment as well. Initially I never intended to save it t...

Jul 5, 2021 · 5 min read · realpythonproject.hashnode.dev  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#python](https://hashnode.com/tag/python)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Rahul Banerjee](https://hashnode.com/@rahul2699)

@rahul2699 · Toronto, Canada

  
[View profile](https://hashnode.com/@rahul2699)

## Responses 1

Markdown supported · ⌘↵ to post

[Maxi Contieri](https://hashnode.com/@mcsee)

[Jul 5, 2021](https://hashnode.com/posts/some-experiments-with-github-copilot/60e284d44f8e376422a7b327/comment/60e3130f03707d644a50522a)

Very nice examples!

I've also been testing it with less imagination:

[maximilianocontieri.com/why-github-copilot-is-not…](https://maximilianocontieri.com/why-github-copilot-is-not-a-threat-to-your-job)

I have a question.

You said:

> Was able to auto-complete my comment as well. Initially I never intended to save it to a json file. Added some in-line code comments Added relevant in-line code comments

I was not so lucky with the comments. Can you share some examples below?

Thank you very much!!

[Rahul Banerjee](https://hashnode.com/@rahul2699)

[Jul 5, 2021](https://hashnode.com/posts/some-experiments-with-github-copilot/60e284d44f8e376422a7b327/comment/60e3130f03707d644a50522a#reply-60e3230b75c814115cc88481)

Hi! Thanks for sharing your article, I’ll check it out.

Are you referring to in-line code comments or the comments being auto-completed?

In my case, most of the times when writing prompts for the functions, I got suggestions. However, the in-line code comments were kind of random. I noticed when it was invoking an already existing function, it used to add a comment. In some cases, when the generated code fetched data from Kaggle, it added a comment “Source: Kaggle”.

[Maxi Contieri](https://hashnode.com/@mcsee)

[Jul 5, 2021](https://hashnode.com/posts/some-experiments-with-github-copilot/60e284d44f8e376422a7b327/comment/60e3130f03707d644a50522a#reply-60e346c7e9aeb8301a6a39cd)

[Rahul Banerjee](https://hashnode.com/@rahul2699)

I am trying to learn if copilot's comments are not obvious. In my (very short) experience, they were just not good enough.

Source might be a valid comment
