Can I put the blame on GitHub? GitHub will most likely make users agree to some terms and conditions which prevent them from being sued. However, you would still need somebody fluent in both languages to ensure that the translation is grammatically correct and it delivers the same message as the original article.Īnother issue I can think of - Who would be liable for the code? If I used GitHub to generate some code and later get sued by someone for some reason. You could translate an article from English to Japanese in a few seconds. It’s been there for years but it has not replaced the need for an actual translator. It is basically like Kite or TabNine on steroids.Ī good analogy I can think of is Google Translate. It didn’t import the necessary libraries at times as well. Copilot often generated non-sensical and repetitive code. However, I don’t see it replacing a software developer. It is sure going to improve a software developer’s productivity. For some reason, it kept on generating code that used Dash although I specifically mentioned streamlit My Views and a few questions.It suggests a bunch of unnecessary imports at times.Eg: When I was trying to generate code for streamlit, it generated the same two lines over and over again Of course, it might actually be random but yeah that was weird. I tried getting suggestions for a variable named api_key and it actually suggested a string with random keys.For instance, at times the generated code contained local files paths for some other users, eg “Users/Projects/…….” Web Scraping is not always the best option and in some cases, you might even end up breaking some laws. When trying to get the pokemon/crypto data, it often made suggestions that used beautiful soup to scrape the data.However, sometimes it was able to generate code on its own as well In the end, I ended up importing the library and it started generating code using the library. It took me quite a few tries (trying out different comments) for it to actually use streamlit and build a simple app.The format of the code was clean with proper indentation and line breaks.Was able to get data from various data sources.The variable and function names are pretty explanatory.For most parts, it was auto-completing my comments as well.It re-used the previously created function.It also added a title and text to be displayed in the web app.It was able to use an external library streamlit (streamlit is used to build web apps).It is mind-boggling how it was able to relate ‘stars’ to popularity. Since I mentioned popular, it sorted the repos based on ‘stars’.However, most of the code was generated by Copilot. For this, I had to write multiple comments and it actually felt like I was pair-programming with the Copilot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |